FILE Pointer

Eljay Love-Jensen eljay@adobe.com
Tue May 27 15:19:00 GMT 2003


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



More information about the Gcc-help mailing list