Mercurial > hg > octave-jordi > gnulib-hg
view doc/posix-functions/sigaction.texi @ 9960:9f9682a4b630
Replace the isw* functions on Linux libc5.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 22 Apr 2008 01:56:52 +0200 |
parents | 070329237839 |
children | 29502a2dd08a |
line wrap: on
line source
@node sigaction @section @code{sigaction} @findex sigaction POSIX specification: @url{http://www.opengroup.org/susv3xsh/sigaction.html} Gnulib module: --- Portability problems fixed by Gnulib: @itemize @end itemize Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: mingw. @item The symbolic value @code{SIG_IGN} for the @code{SIGCHLD} signal is equivalent to a signal handler @smallexample void handle_child (int sigchld) @{ while (waitpid (-1, NULL, WNOHANG) > 0) ; @} @end smallexample except that @code{SIG_IGN} for @code{SIGCHLD} has the effect that the children execution times are not accounted in the @code{times} function. On some platforms (BSD? SystemV? Linux?), you need to use the @code{sigaction} flag @code{SA_NOCLDWAIT} in order to obtain this behavior. @end itemize