Searched defs:signal (Results 1 - 25 of 55) sorted by path

123

/illumos-gate/usr/src/cmd/amt/
H A Damt.c40 #include <signal.h>
414 /* Set handler for signal SIG_EVENT (define at start) */
415 old_handler = signal(SIG_EVENT, &handler);
418 "Can't establish signal handler, test failed\n"));
447 print_message(gettext("Can't send signal to parent, "
485 if (signal(SIG_EVENT, old_handler) == SIG_ERR) {
486 print_message(gettext("Couldn't put back old signal handler, "
694 * Catch signal, child to parent
698 handler(int signal) argument
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpusg.h76 #define signal nsignal /* defined in dumpmain.c */ macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp_var.h70 #include <signal.h>
87 #define signal(s, f) sigset(s, f) macro
H A Dpclose.c77 #define signal(s, f) sigset(s, f) macro
155 istat = signal(SIGINT, pabort);
160 (void) signal(SIGINT, istat);
/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/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 Dinvite.c44 #include <signal.h>
49 #define signal(s, f) sigset(s, f) macro
101 signal(SIGALRM, re_invite);
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);
/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/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c27 #include <signal.h>
59 #define signal(s, f) sigset(s, (void (*)(int))f) macro
432 (void) signal(SIGINT, finish);
433 (void) signal(SIGTERM, finish);
434 (void) signal(SIGHUP, reinitifs);
435 (void) signal(SIGUSR1, report);
453 (void) signal(SIGALRM, timer);
456 * Make sure that this signal actually interrupts (rather than
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipseckey.c44 #include <signal.h>
995 time_critical_catch(int signal) argument
997 if (signal == SIGALRM) {
1000 errx(1, gettext("Caught signal %d while trying to receive"
1001 "PF_KEY reply message"), signal);
1014 (void) signal(SIGALRM, time_critical_catch);
1026 (void) signal(SIGALRM, SIG_DFL);
3206 monitor_catch(int signal) argument
3209 errx(signal, gettext("Bailing on signal
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/
H A Dwificonfig.c431 {SIGNAL, "signal", do_get_signal, NULL, RO},
1562 "\t\tsignal\t\t - read only: signal strength from 0 to 15\n"
1719 * 2. the network with the strongst signal.
1720 * 3. the network with the faster speed(not implemented since signal affects
1743 * if all the wlans are weped, we select the one with strongest signal
1748 for (i = 0; i < ess_num; i++) { /* extract the strongest signal ones */
3148 * linkstauts, essid, encryption and signal strength.
3154 wl_rssi_t signal; local
3183 signal = *(wl_rssi_t *)(gbuf->wldp_buf);
3184 if (signal <
3670 wl_rssi_t signal; local
[all...]
/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/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/cmd/prctl/
H A Dprctl.c34 #include <signal.h>
131 /* if -e/-d arg is signal=XXX, set to signal number of XXX */
218 int signal; local
486 if ((strcmp(arg_action_string, "signal") == 0) ||
491 "signal name or number must be "
500 "signal=", strlen("signal=")) == 0) ||
518 warn(gettext("signal invalid"));
583 warn(gettext("unable to enable signal o
1388 int signal, local_flags, global_flags; local
1682 int signal = 0; local
[all...]
/illumos-gate/usr/src/cmd/rcap/rcapd/
H A Drcapd_main.c52 #include <signal.h>
109 static int termination_signal = 0; /* terminating signal */
875 * Respond to a terminating signal by setting a termination flag.
879 terminate_signal(int signal) argument
882 termination_signal = signal;
892 abort_signal(int signal) argument
1018 sighup(int signal) argument
1441 int sig; /* signal iteration */
1580 * Install a signal handler for reconfiguration processing.
1661 debug("exiting due to signal
[all...]
/illumos-gate/usr/src/cmd/tip/
H A Dtip.h30 #include <signal.h>
45 #define signal(_sig_, _hdlr_) sigset((_sig_), (_hdlr_)) macro
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzoneadm.c45 #include <signal.h>
1532 int signal = WTERMSIG(status); local
1535 if (sig2str(signal, sigstr) == 0) {
1536 zerror(gettext("'%s' terminated by signal SIG%s."), cmd,
1539 zerror(gettext("'%s' terminated by an unknown signal."),
1547 * Assume a subprocess that died due to a signal or an unknown error
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A De1000.c492 * EEPROM will signal that the command has been completed by clearing
1331 * signal detection. So this should be done before e1000_setup_pcs_link()
1409 uint32_t signal = 0; local
1415 * set when the optics detect a signal. On older adapters, it will be
1416 * cleared when there is a signal. This applies to fiber media only.
1422 signal = (hw->mac_type > e1000_82544) ? E1000_CTRL_SWDPIN1 : 0;
1498 /* If we have a signal (the cable is plugged in) then poll for a "Link-Up"
1502 * For internal serdes, we just assume a signal is present, then poll.
1505 (E1000_READ_REG(hw, CTRL) & E1000_CTRL_SWDPIN1) == signal) {
1517 * we detect a signal
2406 uint32_t signal = 0; local
[all...]
/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/lib/libast/amd64/include/ast/
H A Dast_map.h318 #undef signal macro
319 #define signal _ast_signal macro
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_map.h297 #undef signal macro
298 #define signal _ast_signal macro
/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/libast/i386/include/ast/
H A Dast_map.h318 #undef signal macro
319 #define signal _ast_signal macro

Completed in 274 milliseconds

123