Date: Tue, 22 Nov 94 06:54:06 PST From: baca AT crl DOT ucsd DOT edu (Kevin Baca) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: ansi/posix compatibility ideas and issues >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