Home
last modified time | relevance | path

Searched refs:MINSIG (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/lib/libc/port/gen/
H A Dssignal.c44 #define MINSIG (-4) macro
47 static int (*sigs[MAXSIGNUM-MINSIG+1])(int);
54 if (sig >= MINSIG && sig <= MAXSIGNUM) { in ssignal()
55 savefn = sigs[sig-MINSIG]; in ssignal()
56 sigs[sig-MINSIG] = action; in ssignal()
68 if (sig < MINSIG || sig > MAXSIGNUM || in gsignal()
69 (sigfn = sigs[sig-MINSIG]) == (int(*)(int))SIG_DFL) in gsignal()
74 sigs[sig-MINSIG] = (int(*)(int))SIG_DFL; in gsignal()
/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dssignal.c42 #define MINSIG (-4) macro
53 ssigp = (sigfunc *)calloc(MAXSIG-MINSIG+1, sizeof (sigfunc)); in _ssig()
66 if (sig >= MINSIG && sig <= MAXSIG) {
67 savefn = sp[sig-MINSIG];
68 sp[sig-MINSIG] = fn;
84 if (sig < MINSIG || sig > MAXSIG ||
85 (sigfn = sp[sig-MINSIG]) == (int (*)())SIG_DFL)
90 sp[sig-MINSIG] = (int (*)())SIG_DFL;