• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wget/lib/

Lines Matching defs:signal

1 /* POSIX compatible signal blocking.
21 #include <signal.h>
31 /* We assume that a platform without POSIX signal blocking functions
33 signal() function. We also assume signal() has SysV semantics,
37 /* We use raw signal(), but also provide a wrapper rpl_signal() so
38 that applications can query or change a blocked signal. */
39 #undef signal
41 /* Provide invalid signal numbers as fallbacks if the uncatchable
50 /* On native Windows, as of 2008, the signal SIGABRT_COMPAT is an alias
51 for the signal SIGABRT. Only one signal handler is stored for both
52 SIGABRT and SIGABRT_COMPAT. SIGABRT_COMPAT is not a signal of its own. */
73 result = signal (sig, handler);
84 # define signal signal_nothrow
105 default: /* System defined signal */
106 return signal (sig, handler);
109 # undef signal
110 # define signal ext_signal
194 /* Reinstall the handler, in case the signal occurs multiple times
196 signal in between when the kernel uninstalled the handler and
199 signal (sig, blocked_handler);
217 /* The previous signal handlers.
259 if ((old_handlers[sig] = signal (sig, blocked_handler)) != SIG_ERR)
272 if (signal (sig, old_handlers[sig]) != blocked_handler)
273 /* The application changed a signal handler while the signal
292 /* Install the handler FUNC for signal SIG, and return the previous
298 they installed even if that signal is currently blocked. */
309 /* POSIX states that sigprocmask and signal are both
310 async-signal-safe. This is not true of our
312 asynchronous interrupt on signal A can occur after we
314 old_handlers for signal B, such that handler A can see
315 stale information if it calls signal(B). Oh well -
316 signal handlers really shouldn't try to manipulate the
323 return signal (sig, handler);
333 /* Raise the signal SIGPIPE. */