Hash :
bde8c798
Author :
Date :
2009-03-21T17:57:40
signal.h: always support 'volatile sig_atomic_t' * m4/signal_h.m4 (gl_SIGNAL_H): Check for AIX limitation. (gl_SIGNAL_H_DEFAULTS): Add a default. * modules/signal (Makefile.am): Substitute if needed. * lib/signal.in.h (sig_atomic_t): Redefine if needed, so that users can blindly add volatile. * doc/posix-headers/signal.texi (signal.h): Document it. Reported by Matthew Woehlke. Signed-off-by: Eric Blake <ebb9@byu.net>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
@node signal.h
@section @file{signal.h}
POSIX specification: @url{http://www.opengroup.org/susv3xbd/signal.h.html}
Gnulib module: signal
Portability problems fixed by Gnulib:
@itemize
@item
@code{volatile sig_atomic_t} is rejected by older compilers on some
platforms:
AIX.
@item
@code{sigset_t} is only declared in <sys/types.h> on some platforms:
mingw.
@item
@code{struct sigaction} and @code{siginfo_t} are missing on some
platforms:
mingw.
@item
@code{struct sigaction} lacks the @code{sa_sigaction} member on some
platforms:
Irix 5.3, Interix 3.5.
@item
The signal @code{SIGPIPE} is not defined on some platforms:
mingw.
@item
The macro @code{SA_NODEFER} is not defined on some platforms:
Interix 3.5.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
Many signals are not defined on some platforms:
mingw.
@end itemize