comparison doc/posix-functions/sigaction.texi @ 10229:29502a2dd08a

New module sigaction, for mingw. * modules/sigaction: New module... * modules/sigaction-tests: ...and its test. * m4/sigaction.m4: New file. * lib/sigaction.c: Likewise. * tests/test-sigaction.c: Likewise. * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Add sigaction variables. * modules/signal (Makefile.am): Likewise. * lib/signal.in.h (!@HAVE_SIGACTION@): Define replacements when needed. * doc/posix-headers/signal.texi (signal.h): Mention provided types. * doc/posix-functions/siginterrupt.texi (siginterrupt): Mention that sigaction is preferable. * doc/posix-functions/sigaction.texi (sigaction): Mention new module. * MODULES.html.sh (Support for systems lacking POSIX:2001): Add sigaction. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Sat, 21 Jun 2008 14:32:55 -0600
parents 070329237839
children a6493a165dd2
comparison
equal deleted inserted replaced
10228:9b123d1aa781 10229:29502a2dd08a
2 @section @code{sigaction} 2 @section @code{sigaction}
3 @findex sigaction 3 @findex sigaction
4 4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/sigaction.html} 5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/sigaction.html}
6 6
7 Gnulib module: --- 7 Gnulib module: sigaction
8 8
9 Portability problems fixed by Gnulib: 9 Portability problems fixed by Gnulib:
10 @itemize 10 @itemize
11 @item
12 This function is missing on some platforms:
13 mingw.
11 @end itemize 14 @end itemize
12 15
13 Portability problems not fixed by Gnulib: 16 Portability problems not fixed by Gnulib:
14 @itemize 17 @itemize
15 @item 18 @item
16 This function is missing on some platforms: 19 POSIX recommends that when specifying SA_RESETHAND, SA_NODEFER must
20 also be specified.
21
22 @item
23 Support for SA_ONSTACK is missing on some platforms:
24 mingw, cygwin.
25
26 @item
27 Support for SA_SIGINFO is missing on some platforms:
28 mingw, Interix 3.5.
29
30 @item
31 Support for SIGCHLD, and thus for SA_NOCLDSTOP and SA_NOCLDWAIT, is
32 missing on some platforms:
17 mingw. 33 mingw.
34
35 @item
36 Support for SA_RESTART is missing on some platforms:
37 mingw.
38
18 @item 39 @item
19 The symbolic value @code{SIG_IGN} for the @code{SIGCHLD} signal is equivalent 40 The symbolic value @code{SIG_IGN} for the @code{SIGCHLD} signal is equivalent
20 to a signal handler 41 to a signal handler
21 @smallexample 42 @smallexample
22 void handle_child (int sigchld) 43 void handle_child (int sigchld)