Mail Archives: djgpp/1994/11/22/14:56:22
>One question is, should I use the same technique for functions that
>are ansi but not posix, so that an ansi program can (for example)
Sounds reasonable.
>in the posix section or the non-posix section? Basically, if you
>declare yourself to be a _POSIX_SOURCE program, should the headers
>provide prototypes for the __ff functions?
In my opionion, no. For portability reasons, I would rather have to be
explicit about prototyping/including these functions.
>The same goes for ansi. If you say you're a pure ansi program, should
>you get prototypes for non-ansi functions that fall within the ansi
>reserved name space?
Ditto.
-Kevin Baca
- Raw text -