/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | strsignal.c | 39 strsignal(int signum) in strsignal() argument 41 if (signum < _sys_siglistn && signum >= 0) in strsignal() 42 return (_libc_gettext((char *)_sys_siglistp[signum])); in strsignal()
|
H A D | str2sig.c | 40 const int signum; member 155 if (sp->signum == val) { in str2sig() 156 *sigp = sp->signum; in str2sig() 164 *sigp = sp->signum; in str2sig() 178 if (sp->signum == i) { in sig2str()
|
/titanic_41/usr/src/cmd/sgs/ar/common/ |
H A D | main.c | 51 static const int signum[] = {SIGHUP, SIGINT, SIGQUIT, 0}; in establish_sighandler() local 56 for (i = 0; signum[i]; i++) in establish_sighandler() 57 (void) signal(signum[i], SIG_IGN); in establish_sighandler() 64 for (i = 0; signum[i]; i++) in establish_sighandler() 65 if (signal(signum[i], SIG_IGN) != SIG_IGN) in establish_sighandler() 66 (void) signal(signum[i], handler); in establish_sighandler()
|
/titanic_41/usr/src/cmd/csh/ |
H A D | sh.proc.c | 892 int signum; in dokill() local 901 for (signum = 1; signum <= NSIG-1; signum++) { in dokill() 903 if (sig2str(signum, sbuf) == 0) in dokill() 905 if (signum % 8 == 0) in dokill() 916 signum = atoi_(v[0]+1); in dokill() 917 if (signum < 0 || signum > NSIG) in dokill() 925 signum = signo; in dokill() 929 signum = SIGABRT; in dokill() 938 signum = SIGTERM; in dokill() 939 pkill(v, signum); in dokill() [all …]
|
/titanic_41/usr/src/cmd/hotplugd/ |
H A D | hotplugd.c | 64 static void signal_handler(int signum); 315 signal_handler(int signum) in signal_handler() argument 317 log_info("Received signal %d.\n", signum); in signal_handler() 319 switch (signum) { in signal_handler()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSPosix.h | 139 extern mStatus mDNSPosixListenForSignalInEventLoop( int signum); 140 extern mStatus mDNSPosixIgnoreSignalInEventLoop( int signum);
|
H A D | mDNSPosix.c | 1695 mDNSlocal void NoteSignal( int signum) in NoteSignal() argument 1697 sigaddset( &gEventSignals, signum); in NoteSignal() 1701 mStatus mDNSPosixListenForSignalInEventLoop( int signum) in mDNSPosixListenForSignalInEventLoop() argument 1708 err = sigaction( signum, &action, (struct sigaction*) NULL); in mDNSPosixListenForSignalInEventLoop() 1710 sigaddset( &gEventSignalSet, signum); in mDNSPosixListenForSignalInEventLoop() 1716 mStatus mDNSPosixIgnoreSignalInEventLoop( int signum) in mDNSPosixIgnoreSignalInEventLoop() argument 1723 err = sigaction( signum, &action, (struct sigaction*) NULL); in mDNSPosixIgnoreSignalInEventLoop() 1725 sigdelset( &gEventSignalSet, signum); in mDNSPosixIgnoreSignalInEventLoop()
|
/titanic_41/usr/src/cmd/lms/tools/ |
H A D | daemonize.cpp | 51 static RETSIGTYPE child_handler(int signum) in child_handler() argument 53 switch (signum) { in child_handler()
|
/titanic_41/usr/src/cmd/lms/ |
H A D | main.cpp | 116 void terminationHandler(int signum, siginfo_t *sinfo, void *dummy) in terminationHandler() argument 118 …PRINT("LMS Service received - Signal:%d Err:(%d) Code:(%d)\n", signum, sinfo->si_errno, sinfo->s… in terminationHandler() 120 syslog(EVENTLOG_WARNING_TYPE, "Received termination signal (%d)\n", signum); in terminationHandler()
|
/titanic_41/usr/src/cmd/sgs/mcs/common/ |
H A D | main.c | 89 for (i = 0; signum[i]; i++) in main() 90 if (signal(signum[i], SIG_IGN) != SIG_IGN) in main() 91 (void) signal(signum[i], sigexit); in main()
|
H A D | extern.h | 38 extern int signum[];
|
H A D | global.c | 38 int signum[] = {SIGHUP, SIGINT, SIGQUIT, 0}; variable
|
H A D | file.c | 1411 for (i = 0; signum[i]; i++) /* started writing, cannot interrupt */ in copy_file() 1412 (void) signal(signum[i], SIG_IGN); in copy_file()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | utils.c | 1000 signal_name(int signum) in signal_name() argument 1005 if ((cp = strsignal(signum)) != NULL) in signal_name() 1011 if (signum >= 0 && signum < sys_nsig && sys_siglist[signum] != NULL) in signal_name() 1012 return (sys_siglist[signum]); in signal_name()
|
H A D | pppd.h | 458 extern const char *signal_name __P((int signum));
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | proc_names.c | 442 proc_str2sig(const char *str, int *signum) in proc_str2sig() argument 447 return (str2sig(str, signum)); in proc_str2sig()
|
H A D | llib-lproc | 356 int proc_str2sig(const char *str, int *signum);
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rlogin.c | 871 copytochild(int signum) in copytochild() argument 884 writeroob(int signum) in writeroob() argument 919 catchild(int signum) in catchild() argument 1051 sigwinch(int signum) in sigwinch() argument
|
H A D | rsh.c | 788 sendsig(int signum) in sendsig() argument 793 buffer = (char)signum; in sendsig()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 3813 int signum; in pt_signal_info() local 3816 signum = (intptr_t)vep->ve_args; in pt_signal_info() 3818 signum = (intptr_t)sep->se_data; in pt_signal_info() 3820 (void) proc_signame(signum, name, sizeof (name)); in pt_signal_info() 3831 int signum = (intptr_t)sep->se_data; in pt_signal_match() local 3833 return (psp->pr_why == PR_SIGNALLED && psp->pr_what == signum); in pt_signal_match() 4460 pt_add_signal(mdb_tgt_t *t, int signum, in pt_add_signal() argument 4465 if (signum <= 0 || signum > pt->p_maxsig) { in pt_add_signal() 4471 func, data, (void *)(uintptr_t)signum, no_ve_dtor)); in pt_add_signal()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 999 timer(int signum) in timer() argument 1176 justquit(int signum) in justquit() argument
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftp.c | 99 timer(int signum) in timer() argument
|
H A D | main.c | 653 intr(int signum) in intr() argument
|
/titanic_41/usr/src/cmd/krb5/kadmin/server/ |
H A D | ovsec_kadmd.c | 1354 void request_exit(int signum) in request_exit() argument
|
/titanic_41/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 421 static void recover_from_sigint(int signum); 5482 recover_from_sigint(int signum) in recover_from_sigint() argument
|