[comp.sys.atari.st.tech] Fopen vs. open

heavy@zip.eecs.umich.edu (Richard Scott Hall) (05/11/91)

I am using GNU C, and I was just wondering what is the
difference between Fopen() [not fopen()] and open()?
Are the file descriptors they return totally different?
The reason I am asking, is when the new Flock() function
is implemented for networking, will we HAVE to use Fopen()
or can we still use open()?

Richard Hall
University of Michigan
-- 

Standard disclaimer:  I am not me, I am who you think you are...
                      so don't blame me.

geert@ahds.UUCP (Geert W.T. Jonkheer CCS/TS) (05/15/91)

In article <1991May10.190549.1252@zip.eecs.umich.edu>, heavy@zip.eecs.umich.edu (Richard Scott Hall) writes:
> I am using GNU C, and I was just wondering what is the
> difference between Fopen() [not fopen()] and open()?
> Are the file descriptors they return totally different?
> The reason I am asking, is when the new Flock() function
> is implemented for networking, will we HAVE to use Fopen()
> or can we still use open()?
> 

It seems that you ment the Fopen of the atari system calls (the Fopen 
of atari Bios). Most C compilers (GNU included) used on ST machines 
are using Fopen() for open() and fopen(). I think therfor
it is no problem at all using open() or fopen().

Geert.