[LC++]Best way to get sigaction header code included?
Jack Lloyd
lloyd at acm.jhu.edu
Wed Feb 26 06:18:43 UTC 2003
On Tue, 18 Feb 2003, Torsten Rennett wrote:
> If the answer is yes, then decide to which standard it should conform:
> ISO C, POSIX.1, POSIX.2, SVID, X/Open, Single Unix Specification, ...
Note that SVID, X/Open, and SUS are all dead, gone, and merged into
POSIX-2000. Generally (for C programming, anyway), the main choices are:
1) ISO C
2) 199x POSIX.1
3) 199x POSIX.1 with some of the common SUSv2 extensions
4) 2000 POSIX.1
> Then set the Feature Test Macros accordingly (in your Makefile or
> better configure.in or something). Make sure that ALL your code (of the
> current project/program) will be compiled with the SAME Feature Test
> Macros settings! If not, you are asking for trouble ...
Yikes. I would truly hate to work with code that worked any other way...
-Jack
More information about the tuxCPProgramming
mailing list