fopen() vs. open()
From: Grocery Clerk (cdalten_at_yahoo.com)
Date: 09/30/04
- Next message: Merrill & Michele: "Re: Could VC6 be integrated with gcc, and if so,how to do it?"
- Previous message: CBFalconer: "Re: Trying to understand pointers for function paramaters"
- Next in thread: Jack Klein: "Re: fopen() vs. open()"
- Reply: Jack Klein: "Re: fopen() vs. open()"
- Reply: Keith Thompson: "Re: fopen() vs. open()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Sep 2004 21:33:57 -0700
I know open() returns a file descriptor and fopen() returns a pointer
to FILE. The question is, when do I use fopen() and when do I use
open()? Could someone give me an example when to use one over the
other?
- Next message: Merrill & Michele: "Re: Could VC6 be integrated with gcc, and if so,how to do it?"
- Previous message: CBFalconer: "Re: Trying to understand pointers for function paramaters"
- Next in thread: Jack Klein: "Re: fopen() vs. open()"
- Reply: Jack Klein: "Re: fopen() vs. open()"
- Reply: Keith Thompson: "Re: fopen() vs. open()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]