Searched defs:signal (Results 1 - 25 of 54) sorted by relevance

123

/illumos-gate/usr/src/lib/extendedFILE/common/
H A DextendedFILE.c33 #include <signal.h>
51 int action = -1; /* default signal */
54 int signal; local
76 retval = str2sig(ptr, &signal);
79 "Invalid signal name or number.\n");
82 action = signal;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dinit_disp.c44 * as well as the signal handling routines
48 #include <signal.h>
52 #define signal(s, f) sigset(s, f) macro
74 signal(SIGINT, sig_sent);
75 signal(SIGPIPE, sig_sent);
H A Dmsgs.c47 #include <signal.h>
53 #define signal(s, f) sigset(s, f) macro
76 signal(SIGALRM, (void (*)())disp_msg);
84 signal(SIGALRM, SIG_IGN);
H A Dinvite.c47 #include <signal.h>
52 #define signal(s, f) sigset(s, f) macro
104 signal(SIGALRM, re_invite);
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dsignal.c25 * signal that disables syscall restart on interrupt with clear signal mask
26 * fun==SIG_DFL also unblocks signal
31 #undef signal macro
32 #define signal ______signal macro
41 #undef signal macro
75 signal(int sig, Sig_handler_t fun) function
134 NoN(signal)
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsignalmap.c30 #include <sys/signal.h>
56 signal(int sig, void (*a)(int)))(int) function
95 * If the new signal handler is SIG_IGN or SIG_DFL,
96 * do not change the signal's entry in the handler array.
97 * This allows a child of vfork(2) to set signal handlers
155 case SIGSTOP: /* sendable stop signal not from tty */
157 case SIGTSTP: /* stop signal from tty */
167 case SIGIO: /* input/output possible signal */
183 case SIGUSR2: /* user defined signal 2 */
196 case XSIGSTOP: /* sendable stop signal no
[all...]
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsignal.c29 #pragma weak _signal = signal
39 #include <signal.h>
43 * Check for valid signal number as per SVID.
59 * SVr3.x signal compatibility routines. They are now
65 signal(int sig, void(*func)(int)))(int) function
78 * the disposition is SIG_IGN, per sysV signal man page.
141 * the disposition is SIG_IGN, per sysV signal man page.
169 * sigpause() is defined to unblock the signal
171 * sigsuspend() restores the original signal set,
208 * the disposition is SIG_IGN, per sysV signal ma
[all...]
/illumos-gate/usr/src/test/os-tests/tests/sigqueue/
H A Dsigqueue_queue_size.c26 #include <signal.h>
68 maximum_test_handler(int signal, siginfo_t *siginfo, void *context) argument
94 * Put the signal on hold.
113 * Set signal handler.
121 * Fill the signal queue to the maximum.
131 * Send a further signal and test if we get the expected
141 * from the signal queue.
/illumos-gate/usr/src/lib/libc/port/gen/
H A Drctlops.c82 rctlblk_get_local_action(rctlblk_t *rblk, int *signal) argument
86 if (signal != NULL)
87 *signal = ropaque->rcq_local_signal;
145 rctlblk_set_local_action(rctlblk_t *rblk, uint_t action, int signal) argument
148 ropaque->rcq_local_signal = signal;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dpclose.c77 #define signal(s, f) sigset(s, f) macro
155 istat = signal(SIGINT, pabort);
160 (void) signal(SIGINT, istat);
H A Dftp_var.h70 #include <signal.h>
87 #define signal(s, f) sigset(s, f) macro
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpusg.h76 #define signal nsignal /* defined in dumpmain.c */ macro
/illumos-gate/usr/src/cmd/csh/i386/
H A Dsignal.c16 * 4.3BSD signal compatibility functions
18 * the implementation interprets signal masks equal to -1 as "all of the
19 * signals in the signal set", thereby allowing signals with numbers
29 #include <signal.h>
30 #include "signal.h"
58 * sigvechandler is the real signal handler installed for all
60 * SVR4 signal hander arguments into 4.3BSD signal handler arguments
219 signal(int s, void (*a)()))() function
/illumos-gate/usr/src/cmd/csh/sparc/
H A Dsignal.c16 * 4.3BSD signal compatibility functions
18 * the implementation interprets signal masks equal to -1 as "all of the
19 * signals in the signal set", thereby allowing signals with numbers
29 #include <signal.h>
30 #include "signal.h"
58 * sigvechandler is the real signal handler installed for all
60 * SVR4 signal hander arguments into 4.3BSD signal handler arguments
243 signal(int s, void (*a)()))() function
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.h60 int signal; member in struct:__anon3616
/illumos-gate/usr/src/lib/libcontract/common/
H A Dprocess.c130 ct_pr_event_get_signal(ct_evthdl_t evthdl, int *signal) argument
139 return (nvlist_lookup_uint32(info->nvl, CTPE_SIGNAL, (uint_t *)signal));
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c47 #include <signal.h>
83 #define signal(s, f) sigset((s), (f)) macro
179 (void) signal(SIGALRM, onalrm);
180 (void) signal(SIGTTOU, SIG_IGN);
182 (void) signal(SIGCHLD, reapchildren);
184 (void) signal(SIGCHLD, SIG_IGN); /* no zombies */
306 signal(SIGALRM, SIG_DFL);
/illumos-gate/usr/src/cmd/hal/hald-runner/
H A Drunner.c32 #include <signal.h>
182 /* emit a signal that this PID exited */
184 DBusMessage *signal; local
186 signal = dbus_message_new_signal ("/org/freedesktop/HalRunner",
189 dbus_message_append_args (signal,
192 dbus_connection_send(rd->con, signal, NULL);
/illumos-gate/usr/src/ucblib/libucb/i386/sys/
H A Dsignal.c35 * 4.3BSD signal compatibility functions
37 * the implementation interprets signal masks equal to -1 as "all of the
38 * signals in the signal set", thereby allowing signals with numbers
47 #include <signal.h>
60 #pragma weak signal = usignal macro
78 * sigvechandler is the real signal handler installed for all
80 * SVR4 signal hander arguments into 4.3BSD signal handler arguments
119 * Translate signal codes from new to old.
121 * /usr/ucbinclude/sys/signal
[all...]
/illumos-gate/usr/src/ucblib/libucb/sparc/sys/
H A Dsignal.c40 * 4.3BSD signal compatibility functions
42 * the implementation interprets signal masks equal to -1 as "all of the
43 * signals in the signal set", thereby allowing signals with numbers
52 #include <signal.h>
65 #pragma weak signal = usignal macro
96 * sigvechandler is the real signal handler installed for all
98 * SVR4 signal hander arguments into 4.3BSD signal handler arguments
152 * return from the signal handler. Otherwise, vital information
185 * Translate signal code
[all...]
/illumos-gate/usr/src/cmd/amt/
H A Damt.c38 #include <signal.h>
412 /* Set handler for signal SIG_EVENT (define at start) */
413 old_handler = signal(SIG_EVENT, &handler);
416 "Can't establish signal handler, test failed\n"));
445 print_message(gettext("Can't send signal to parent, "
483 if (signal(SIG_EVENT, old_handler) == SIG_ERR) {
484 print_message(gettext("Couldn't put back old signal handler, "
692 * Catch signal, child to parent
696 handler(int signal) argument
/illumos-gate/usr/src/tools/scripts/
H A Dwsdiff.py75 import re, resource, select, shutil, signal, string, struct, sys, tempfile namespace
1150 # SIGINT signal handler. Changes thread control variable to tell the threads
1448 # Set signal handler to attempt graceful exit
1449 debug("Setting signal handler")
1450 signal.signal( signal.SIGINT, discontinue_processing )
/illumos-gate/usr/src/uts/common/os/
H A Dpid.c572 * Send the specified signal to all processes whose process group ID is
577 signal(pid_t pgid, int sig) function
599 * Send the specified signal to the specified process
645 * send a signal to a process
647 * - send the process the signal
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drsh.c33 #include <signal.h>
45 /* signal disposition - signal handler or SIG_IGN, SIG_ERR, etc. */
145 * Get signal disposition (or signal handler) for a given signal
168 sigpipehandler(int signal) argument
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_lockfs.c32 #include <sys/signal.h>
889 int signal = 0; local
1032 * Interrupted due to signal. There could still be
1035 signal = 1;
1194 * Don't call ufs_thaw() when there's a signal during
1198 if (signal == 0)

Completed in 282 milliseconds

123