Mail Archives: djgpp/1997/03/10/07:43:54
From: | "Colin W. Glenn" <cwg01 AT gnofn DOT org>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: file max sizes?
|
Date: | Mon, 10 Mar 1997 00:18:02 -0600
|
Organization: | Greater New Orleans Free-Net
|
Lines: | 42
|
Message-ID: | <Pine.GSO.3.95.970310001717.17824B-100000@sparkie.gnofn.org>
|
References: | <01bc2ca1$660fce80$31c9c2d0 AT bonk>
|
NNTP-Posting-Host: | sparkie.gnofn.org
|
Mime-Version: | 1.0
|
In-Reply-To: | <01bc2ca1$660fce80$31c9c2d0@bonk>
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
On 9 Mar 1997, Jeffrey A Studer wrote:
Errr, are you opening in binary mode? Are you setting the properly sized
buffer?
> 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
>
>
>
<! New Stuff!>
DJGPP A Free GNU C & more compiler
<a href="http://www.delorie.com/djgpp/">!</a>
DJ Delorie's Home Page
<a href="http://www.delorie.com/">.</a>
<! PrePared HTML! Just export as a HTML file and Click!>
A Christian Web Site! The Light
<a href="http://www.thelight.org/">.</a><br>
A neat place to visit. HotSpot
<a href="http://www.hspro.com/hotspot/">.</a><br>
Caldera may be down right now, check anyway.
Caldera, Inc. / Makers of OpenDOS
<a href="http://www.caldera.com/">.</a><br>
Caldera's OpenDOS page
<a href="http://www.caldera.com/dos/dos.htm">.</a><br>
- Raw text -