HomeSort by relevance Sort by last modified time
    Searched refs:act (Results 1 - 25 of 147) sorted by null

1 2 3 4 5 6

  /onnv/onnv-gate/usr/src/lib/libc/port/sys/
siginterrupt.c 37 struct sigaction act; local
47 (void) sigaction(sig, NULL, &act);
49 act.sa_flags &= ~SA_RESTART;
51 act.sa_flags |= SA_RESTART;
52 return (sigaction(sig, &act, NULL));
signal.c 130 struct sigaction act; local
135 act.sa_handler = SIG_IGN;
136 act.sa_flags = 0;
137 (void) sigemptyset(&act.sa_mask);
144 act.sa_flags |= SA_NOCLDSTOP;
145 act.sa_flags |= SA_NOCLDWAIT;
149 act.sa_flags |= SA_RESTART;
151 if (sigaction(sig, &act, (struct sigaction *)0) < 0)
  /onnv/onnv-gate/usr/src/cmd/agents/snmp/snmplib/
signals.c 45 struct sigaction act; local
46 act.sa_flags = 0;
49 act.sa_handler = signals_sighup;
50 if (sigaction(SIGHUP, &act, NULL) == -1) {
55 act.sa_handler = signals_exit;
56 if (sigaction(SIGINT, &act, NULL) == -1) {
60 } else if (sigaction(SIGTERM, &act, NULL) == -1) {
64 } else if (sigaction(SIGUSR1, &act, NULL) == -1) {
68 } else if (sigaction(SIGUSR2, &act, NULL) == -1) {
74 act.sa_handler = SIG_IGN
    [all...]
  /onnv/onnv-gate/usr/src/lib/libc/inc/
nsswitch_priv.h 79 #define __NSW_COMMON_ACTION(act)\
80 (((act) == __NSW_CONTINUE) || ((act) == __NSW_RETURN))
82 #define __NSW_SUCCESS_ACTION(act) __NSW_COMMON_ACTION(act)
83 #define __NSW_NOTFOUND_ACTION(act) __NSW_COMMON_ACTION(act)
84 #define __NSW_UNAVAIL_ACTION(act) __NSW_COMMON_ACTION(act)
85 #define __NSW_TRYAGAIN_ACTION(act) \
    [all...]
  /onnv/onnv-gate/usr/src/lib/libc/port/gen/
abort.c 49 struct sigaction act; local
51 if (!sigaction(SIGABRT, NULL, &act) &&
52 act.sa_handler != SIG_DFL && act.sa_handler != SIG_IGN) {
nsparse.c 141 action_t act; local
225 act = __NSW_RETURN;
239 act = __NSW_TRYAGAIN_NTIMES;
241 act = __NSW_CONTINUE;
244 act = __NSW_TRYAGAIN_FOREVER;
246 act = __NSW_TRYAGAIN_NTIMES;
254 if (__NSW_SUCCESS_ACTION(act) &&
257 lkp->actions[__NSW_SUCCESS] = act;
258 } else if (__NSW_NOTFOUND_ACTION(act) &&
261 lkp->actions[__NSW_NOTFOUND] = act;
335 action_t act; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/mdb/
mdb_signal.c 48 struct sigaction act; local
57 act.sa_handler = handler;
58 act.sa_flags = SA_RESTART;
60 act.sa_handler = sig_stub;
61 act.sa_flags = SA_SIGINFO | SA_RESTART | SA_ONSTACK;
64 (void) sigemptyset(&act.sa_mask);
67 (void) sigaddset(&act.sa_mask, SIGWINCH);
68 (void) sigaddset(&act.sa_mask, SIGTSTP);
69 (void) sigaddset(&act.sa_mask, SIGHUP);
70 (void) sigaddset(&act.sa_mask, SIGTERM)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/syseventd/daemons/syseventd/
sysevent_signal.c 47 struct sigaction act; local
54 act.sa_handler = handler;
55 act.sa_flags = SA_RESTART;
57 act.sa_sigaction = sig_stub;
58 act.sa_flags = SA_SIGINFO | SA_RESTART;
61 (void) sigfillset(&act.sa_mask);
63 if ((status = sigaction(sig, &act, NULL)) == 0)
  /onnv/onnv-gate/usr/src/lib/libc/port/stdio/
getpass.c 78 struct sigaction act, osigint, osigtstp; local
86 act.sa_flags = 0;
87 act.sa_handler = catch;
88 (void) sigemptyset(&act.sa_mask);
89 (void) sigaction(SIGINT, &act, &osigint); /* trap interrupt */
90 act.sa_handler = SIG_IGN;
91 (void) sigaction(SIGTSTP, &act, &osigtstp); /* ignore stop */
  /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/io/
tst.fds.c 50 struct sigaction act; local
57 act.sa_handler = interrupt;
58 act.sa_flags = 0;
60 (void) sigemptyset(&act.sa_mask);
61 (void) sigaction(SIGUSR1, &act, NULL);
  /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/
sigaction.c 68 sigaction(sig, act, oact)
70 struct sigaction *act, *oact;
82 if (act == NULL) {
86 if (act->sa_flags & SA_ONSTACK)
88 if (act->sa_flags & SA_RESETHAND)
90 if (act->sa_flags & SA_NOCLDSTOP)
92 if (!(act->sa_flags & SA_INTERRUPT))
100 handlers[newsig] = act->sa_handler;
102 if ((act->sa_handler == SIG_DFL) ||
103 (act->sa_handler == SIG_IGN)
    [all...]
  /onnv/onnv-gate/usr/src/lib/libeti/form/common/
driver.c 40 PTF_int act; member in struct:__anon3533
46 #define CALL(x, f) (x.class ? (*x.class) (x.act, f) : E_SYSTEM_ERROR)
121 _page_navigation(PTF_int act, FORM *f)
128 v = (*act) (f);
139 _field_navigation(PTF_int act, FORM *f)
145 v = (*act) (f);
155 _data_navigation(PTF_int act, FORM *f)
157 return ((*act) (f));
162 _data_manipulation(PTF_int act, FORM *f)
168 if ((v = (*act) (f)) == E_OK
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
oct.t 10 my ($act, $string, $value) = @_;
12 if ($act eq 'oct') {
14 } elsif ($act eq 'hex') {
17 die "Unknown action 'act'";
25 print "ok $test # $act $string\n";
28 if ($act eq 'hex' or $string =~ /x/) {
38 print "not ok $test # $act \"$string\" gives \"$result\" ($resstr), not $value ($valstr)\n";
  /onnv/onnv-gate/usr/src/lib/libproc/common/
pr_sigaction.c 45 int sig, const struct sigaction *act, struct sigaction *oact)
57 return (sigaction(sig, act, oact));
66 adp++; /* act argument */
68 if (act == NULL) {
78 sigaction_n_to_32(act, &act32);
82 adp->arg_object = (void *)act;
83 adp->arg_size = sizeof (*act);
86 adp->arg_object = (void *)act;
87 adp->arg_size = sizeof (*act);
  /onnv/onnv-gate/usr/src/cmd/nscd/
nscd_nswparse.c 190 action_t act; local
274 act = __NSW_RETURN;
288 act = __NSW_TRYAGAIN_NTIMES;
290 act = __NSW_CONTINUE;
293 act = __NSW_TRYAGAIN_FOREVER;
295 act = __NSW_TRYAGAIN_NTIMES;
303 if (__NSW_SUCCESS_ACTION(act) &&
306 lkp->actions[__NSW_SUCCESS] = act;
307 } else if (__NSW_NOTFOUND_ACTION(act) &&
310 lkp->actions[__NSW_NOTFOUND] = act;
    [all...]
  /onnv/onnv-gate/usr/src/cmd/svc/configd/
configd.c 118 struct sigaction act; local
120 (void) sigemptyset(&act.sa_mask);
121 act.sa_handler = SIG_DFL;
122 act.sa_flags = 0;
123 (void) sigaction(sig, &act, NULL);
463 struct sigaction act; local
465 act.sa_sigaction = SIG_DFL;
466 (void) sigemptyset(&act.sa_mask);
467 act.sa_flags = 0;
469 (void) sigaction(SIGPIPE, &act, NULL); /* ignore SIGPIPE *
552 struct sigaction act; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libnsl/nis/cache/
cache.cc 540 nis_active_endpoint *act; local
543 if (!activeGet(ep, &act)) {
547 if (act->uaddr_generation != bep->generation) {
550 bep->uaddr = strdup(act->uaddr);
551 bep->generation = act->uaddr_generation;
552 activeFree(act);
557 free((void *)act->uaddr);
566 act->uaddr_generation = nextGeneration();
567 act->uaddr = strdup(bep->uaddr);
569 activeAdd(act); /* add new *
765 nis_active_endpoint *act; local
873 nis_active_endpoint *act; local
1125 nis_active_endpoint *act; local
1191 nis_active_endpoint *act; local
    [all...]
local_cache.h 49 nis_active_endpoint *act; member in struct:LocalActiveEntry
68 void activeAdd(nis_active_endpoint *act);
71 int activeGet(endpoint *ep, nis_active_endpoint **act);
96 LocalActiveEntry *createActiveEntry(nis_active_endpoint *act);
local_cache.cc 276 NisLocalCache::activeAdd(nis_active_endpoint *act)
281 entry = createActiveEntry(act);
298 if (strcmp(entry->act->ep.family, ep->family) == 0 &&
299 (all || strcmp(entry->act->ep.proto, ep->proto) == 0) &&
300 strcmp(entry->act->ep.uaddr, ep->uaddr) == 0) {
305 activeFree(entry->act);
323 if (strcmp(entry->act->ep.family, ep->family) == 0 &&
324 strcmp(entry->act->ep.proto, ep->proto) == 0 &&
325 strcmp(entry->act->ep.uaddr, ep->uaddr) == 0) {
337 NisLocalCache::activeGet(endpoint *ep, nis_active_endpoint **act)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sh/
fault.c 136 struct sigaction act; local
139 sigaction(i, 0, &act);
140 if (act.sa_handler == SIG_IGN) {
250 struct sigaction act, oact; local
262 sigemptyset(&act.sa_mask);
263 act.sa_flags = (sig == SIGSEGV) ? (SA_ONSTACK | SA_SIGINFO) : 0;
264 act.sa_handler = func;
265 sigaction(sig, &act, &oact);
434 struct sigaction act, oact; local
449 sigemptyset(&act.sa_mask)
    [all...]
  /onnv/onnv-gate/usr/src/lib/libc/port/threads/
sigaction.c 668 struct sigaction act; local
680 __sigaction(sig, NULL, &act) == 0 &&
681 act.sa_sigaction != SIG_DFL &&
682 act.sa_sigaction != SIG_IGN) {
683 act = *sap;
684 act.sa_flags &= ~SA_NODEFER;
685 act.sa_sigaction = udp->sigacthandler;
686 act.sa_mask = maskset;
687 (void) __sigaction(sig, &act, NULL);
728 struct sigaction act; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/fm/fmd/common/
fmd_timerq.c 250 struct sigaction act; local
255 act.sa_handler = fmd_timerq_alrm;
256 act.sa_flags = 0;
257 (void) sigemptyset(&act.sa_mask);
258 (void) sigaction(SIGALRM, &act, NULL);
270 struct sigaction act; local
297 act.sa_handler = SIG_DFL;
298 act.sa_flags = 0;
299 (void) sigemptyset(&act.sa_mask);
300 (void) sigaction(SIGALRM, &act, NULL)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/
extract_defines 154 my $act = $$mm[$i++];
156 if ($act eq 'typefn') {
158 } elsif ($act eq 'declare') {
162 } elsif ($act eq 'scan') {
166 die("Illegal action $act\n");
  /onnv/onnv-gate/usr/src/cmd/format/
main.c 88 struct sigaction act; local
148 act.sa_handler = cmdabort;
149 (void) memset(&act.sa_mask, 0, sizeof (sigset_t));
150 act.sa_flags = SA_RESTART | SA_NODEFER;
151 if (sigaction(SIGINT, &act, (struct sigaction *)NULL) == -1) {
157 act.sa_handler = onsusp;
158 (void) memset(&act.sa_mask, 0, sizeof (sigset_t));
159 act.sa_flags = SA_RESTART | SA_NODEFER;
160 if (sigaction(SIGTSTP, &act, (struct sigaction *)NULL) == -1) {
166 act.sa_handler = onalarm
    [all...]
  /onnv/onnv-gate/usr/src/cmd/oplhpd/
oplhpd.c 111 struct sigaction act, oact; local
113 act.sa_handler = handler;
114 act.sa_flags = 0;
116 act.sa_flags |= SA_NOCLDWAIT;
118 (void) sigemptyset(&act.sa_mask);
120 if (sigaction(sig, &act, &oact) < 0) {

Completed in 1076 milliseconds

1 2 3 4 5 6