Lines Matching +full:implementation +full:- +full:defined
2 * sigact.c - fake sigaction(2)
21 * This is a fake sigaction implementation. It uses
30 * implementation (USE_SIGNAL or USE_SIGMASK), and
31 * NO_SIGNAL is not defined, it also provides a signal()
53 * SIG_HDLR is normally 'void' in the POSIX implementation
56 * this implementation keeps 'sa_handler' inline with the
60 * in this implementation.
64 * implementation.
97 * 0==success, -1==failure
107 * @(#)Copyright (c) 1992-2021, Simon J. Gerraty
119 * Please send copies of changes and bug-fixes to:
151 * some systems have a faulty sigaction() implementation!
154 * we have SA_NOCLDSTOP defined.
156 #if !defined(SA_NOCLDSTOP) || defined(_SIGACT_H) || defined(USE_SIGNAL) || defined(USE_SIGSET) || d…
162 #if !defined(USE_SIGSET) && !defined(USE_SIGMASK) && !defined(USE_SIGNAL)
163 # if defined(sigmask) || defined(BSD) || defined(_BSD) && !defined(BSD41)
176 #if !defined(USE_SIGSET) && !defined(USE_SIGMASK) && !defined(USE_SIGNAL)
197 oldh = sigset(sig, act->sa_handler); in sigaction()
199 oldh = signal(sig, act->sa_handler); in sigaction()
218 oact->sa_handler = oldh; in sigaction()
370 #if !defined(SIG_HDLR)
373 #if !defined(SIG_ERR)
374 #define SIG_ERR (SIG_HDLR (*)())-1
377 #if !defined(USE_SIGNAL) && !defined(USE_SIGMASK) && !defined(NO_SIGNAL)
391 /* This lot (for GNU-Emacs) goes at the end of the file. */
394 * version-control:t
395 * comment-column:40