Searched defs:nsig (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/mail/
H A Dmain.c71 struct sigaction nsig; local
72 nsig.sa_handler = SIG_DFL;
73 sigemptyset(&nsig.sa_mask);
74 nsig.sa_flags = SA_RESTART;
75 (void) sigaction(SIGCONT, &nsig, (struct sigaction *)0);
/illumos-gate/usr/src/lib/krb5/ss/
H A Dlist_rqs.c52 struct sigaction nsig, osig; local
72 nsig.sa_handler = SIG_IGN;
73 sigemptyset(&nsig.sa_mask);
74 nsig.sa_flags = 0;
75 sigaction(SIGINT, &nsig, &osig);
H A Dlisten.c149 struct sigaction isig, csig, nsig, osig; local
208 nsig.sa_handler = listen_int_handler;
209 sigemptyset(&nsig.sa_mask);
210 nsig.sa_flags = 0;
211 sigaction(SIGINT, &nsig, &isig);
240 nsig.sa_handler = listen_int_handler; /* fgets is not signal-safe */
242 sigaction(SIGCONT, &nsig, &csig);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Ddouble_decim.c112 * nsig: Input number of significant digits required.
121 binary_to_decimal_integer(unpacked *pu, unsigned nsig, char ds[], argument
143 _big_float_times_power(&d, 2, e, (int) nsig, &pd);
197 * digits in ds ds contains at least nsig significant digits. nzeros + *
205 * nsig: Input number of significant digits
217 binary_to_decimal_fraction(unpacked *pu, unsigned nsig, unsigned nfrac, argument
230 for (; i <= nsig; i++)
242 tenpower = nsig + (int) (((17 - e - 16 * b.blength) * (unsigned long) 19729) >> 16);
246 if (nsig > tensig)
247 tensig = nsig;
343 unsigned nsig, nfrac, intzeros, intsigs; local
[all...]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Ddecimal_bin.c39 * to base 2^16 in **ppb. The converted value is accurate to nsig
54 __big_decimal_to_big_binary(_big_float *pd, int nsig, _big_float **ppb, argument
137 __big_float_times_power(pb, 10, pd->bexponent, nsig, ppb);
H A Ddouble_decim.c68 * to base 10^4 in **ppd. The converted value is accurate to nsig
83 __big_binary_to_big_decimal(_big_float *pb, int nsig, _big_float **ppd, argument
150 __big_float_times_power(pd, 2, pb->bexponent, nsig, ppd);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dsubshell.c474 int jmpval,nsig=0,duped=0; local
525 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0])
527 nsig += sizeof(char*);
528 memcpy(savsig=malloc(nsig),(char*)&shp->st.trapcom[0],nsig);
683 if(nsig)
685 memcpy((char*)&shp->st.trapcom[0],savsig,nsig);
H A Dxec.c1458 int nsig,jmpval; local
1461 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0])
1463 nsig += sizeof(char*);
1464 memcpy(savsig=malloc(nsig),(char*)&shp->st.trapcom[0],nsig);
2554 register int nsig; local
2616 if((nsig=shp->st.trapmax*sizeof(char*))>0 || shp->st.trapcom[0])
2618 nsig += sizeof(char*);
2619 memcpy(savstak=stakalloc(nsig),(char*)&shp->st.trapcom[0],nsig);
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dcollect.c755 struct sigaction nsig; local
756 nsig.sa_handler = (void (*)())savecont;
757 sigemptyset(&nsig.sa_mask);
758 nsig.sa_flags = SA_RESTART;
759 (void) sigaction(SIGCONT, &nsig, (struct sigaction*)0);
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c1634 struct sigaction nsig, osig; local
1659 nsig.sa_handler = SIG_IGN;
1660 sigemptyset(&nsig.sa_mask);
1661 nsig.sa_flags = 0;
1662 sigaction(SIGINT, &nsig, &osig);
1925 struct sigaction nsig, osig; local
1954 if (sigemptyset(&nsig.sa_mask) == -1) {
1966 nsig.sa_handler = SIG_IGN;
1967 nsig.sa_flags = 0;
1968 if (sigaction(SIGINT, &nsig,
[all...]
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1383 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; local
1394 if (sig < 0 || sig >= nsig)
1512 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; local
1517 if (sig <= 0 || sig >= nsig)
1536 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; local
1541 if (sig <= 0 || sig >= nsig || sig == SIGKILL)
H A Dprioctl.c158 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; local
266 thingsize = (nsig-1) * sizeof (struct sigaction);
919 int n = nsig-1;
933 for (sig = 1; sig < nsig; sig++)
936 if (copyout(sap, cmaddr, (nsig-1) * sizeof (struct sigaction)))
938 kmem_free(sap, (nsig-1) * sizeof (struct sigaction));
1696 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; local
1829 thingsize = (nsig-1) * sizeof (struct sigaction32);
2541 int n = nsig-1;
2558 for (sig = 1; sig < nsig; si
[all...]
H A Dprsubr.c1313 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; local
1317 if (sig != 0 && (unsigned)sig < nsig) {
1343 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; local
1347 if (sig != 0 && (unsigned)sig < nsig) {
H A Dprvnops.c1006 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; local
1019 sap = kmem_alloc((nsig-1) * sizeof (struct sigaction), KM_SLEEP);
1026 if (uiop->uio_offset >= (nsig-1)*sizeof (struct sigaction)) {
1032 for (sig = 1; sig < nsig; sig++)
1036 error = pr_uioread(sap, (nsig - 1) * sizeof (struct sigaction), uiop);
1038 kmem_free(sap, (nsig-1) * sizeof (struct sigaction));
2082 int nsig = PROC_IS_BRANDED(curproc)? BROP(curproc)->b_nsig : NSIG; local
2095 sap = kmem_alloc((nsig-1) * sizeof (struct sigaction32), KM_SLEEP);
2107 if (uiop->uio_offset >= (nsig-1) * sizeof (struct sigaction32)) {
2113 for (sig = 1; sig < nsig; si
2810 int nsig; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1120 int nsig = NSIG; local
1124 if (sig != 0 && (unsigned)sig < nsig) {

Completed in 114 milliseconds