logo       

Re: FILE Pointer: msg#00248

gcc.help

Subject: Re: FILE Pointer

Hi Bharathi,

Consider a FILE structure to be opaque. Like a "typedef void FILE", so a "FILE*" is a "void*". (On some platforms, that's exactly what a FILE is.)

If you do have a non-opaque FILE structure, and you use anything from structure, your code will be very non-portable.

Sincerely,
--Eljay




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise