Mail Archives: djgpp/1997/03/16/00:12:40
| From:  | Erik Max Francis <max AT alcyone DOT com>
 | 
| Newsgroups:  | comp.os.msdos.djgpp
 | 
| Subject:  | Re: file max sizes?
 | 
| Date:  | Sat, 15 Mar 1997 12:57:45 -0800
 | 
| Organization:  | Alcyone Systems
 | 
| Lines:  | 22
 | 
| Message-ID:  | <332B0D49.19B8FBDC@alcyone.com>
 | 
| References:  | <01bc2ca1$660fce80$31c9c2d0 AT bonk>
 | 
| NNTP-Posting-Host:  | newton.alcyone.com
 | 
| Mime-Version:  | 1.0
 | 
| To:  | djgpp AT delorie DOT com
 | 
| DJ-Gateway:  | from newsgroup comp.os.msdos.djgpp
 | 
Jeffrey A Studer wrote:
> 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.
Problem it's that whatever buffer you're trying to read it into isn't big
enough.
-- 
       Erik Max Francis, &tSftDotIotE / email:  max AT alcyone DOT com
                     Alcyone Systems /    web:  http://www.alcyone.com/max/
San Jose, California, United States /    icbm:  37 20 07 N  121 53 38 W
                                   \
              "I am become death, / destroyer of worlds."
                                 / J. Robert Oppenheimer (quoting legend)
- Raw text -