This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: file size limit


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]