delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/09/15:19:07

From: "Jeffrey A Studer" <jstuder AT flash DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: file max sizes?
Date: 9 Mar 1997 15:54:22 GMT
Organization: Studer
Lines: 15
Message-ID: <01bc2ca1$660fce80$31c9c2d0@bonk>
NNTP-Posting-Host: apm2-49.flash.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello all,

I am very new to djgpp so pardon my ignorance.   I have been opening and
trying to read a file using open, and read.  I was wondering if there is a
maximum size of file that can be opened or read from.  it seems that
reading 40 bytes from a file at once, occasionally gives a SIGSEGV fault at
runtime ( I wish i knew what these runtime error messages meant, as well. 
Is there a FAQ on DOS error messages? ).  I WAS trying to read a minimum of
280 bytes, in one pass.  I will resort to reading 4 bytes at a time ,
unless someone can assist me.

Thank you.

-Jeff

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019