file size limit

Brian Dessent brian@dessent.net
Tue Jan 31 01:47:00 GMT 2006


Blake Huff wrote:

> Maybe I missed something, but isn't the correct call fopen()?   I
> can't even get a program with the command 'open()'  to compile...

You're doing something wrong if open() doesn't work.  It is one of the
most basic C library functions.  fopen() is the stream version of open
that operates on a FILE * instead of a file descriptor (int).

http://www.opengroup.org/onlinepubs/009695399/functions/open.html
http://www.opengroup.org/onlinepubs/009695399/functions/fopen.html

Brian



More information about the Gcc-help mailing list