On Wed, May 07, 2008 at 03:04:50PM -0700, Maxim Sobolev wrote:
>Can you please explain the "needed" part?

- The file struct is in two pieces: struct __sFILE and struct __sFILEX
  This is at best a wart.
- stdio currently only supports file descriptors <=32767.

> What are gains apart from pure aesthetics

"data-hiding" is a standard technique.  Making FILE opaque means that
future changes can be made without impacting altering the ABI.

-- 
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.

Attachment: pgpdaq38Nm6kI.pgp
Description: PGP signature

Reply via email to