Searched refs:trap (Results 1 - 25 of 36) sorted by relevance

12

/osnet-11/usr/src/lib/libshell/common/sh/
H A Dfault.c67 register char *trap; local
87 trap = shp->st.trapcom[sig];
97 if(trap && *trap)
104 if(shp->subshell && trap && sig!=SIGINT && sig!=SIGQUIT && sig!=SIGWINCH && sig!=SIGCONT)
112 if(trap && *trap==0)
115 if(!trap)
173 if(trap)
274 * Turn on trap handle
324 register char *trap; local
369 register char *trap; local
390 register char *trap; local
446 sh_trap(const char *trap, int mode) argument
[all...]
H A Dxec.c465 int sh_debug(Shell_t *shp, const char *trap, const char *name, const char *subscript, char *const argv[], int flags) argument
516 shp->st.trap[SH_DEBUGTRAP] = 0;
517 n = sh_trap(trap,0);
779 char *str,*trap,host[PATH_MAX]; local
790 if((trap=shp->st.trapcom[sig]) && *trap==0)
791 sfprintf(sfstdout,"trap '' %d\n",sig);
918 char *trap; local
1123 if(trap=shp->st.trap[SH_DEBUGTRA
2023 char *cp, *trap, *nullptr = 0; local
2274 register char *trap; local
2319 char *trap, *r = sh_macpat(shp,tt->sw.swarg,OPTIMIZE); local
2655 register char *trap; local
3122 register char *trap; local
3546 register char *trap; local
[all...]
H A Dsubshell.c180 char *trap = shp->st.trapcom[0]; local
181 if(trap)
182 trap = strdup(trap);
194 if(trap)
195 free((void*)trap);
211 shp->st.trapcom[0] = trap;
526 /* save trap table */
532 /* this nonsense needed for $(trap) */
584 /* trap o
585 char *trap=shp->st.trapcom[0]; local
[all...]
H A Dname.c298 char *trap=shp->st.trap[SH_DEBUGTRAP]; local
444 if(traceon || trap)
450 if(trap)
451 sh_debug(shp,trap,name,(char*)0,argv,(arg->argflag&ARG_APPEND)|ARG_ASSIGN);
592 if(traceon || trap)
619 if(trap)
624 sh_debug(shp,trap,name,sub,av,append);
/osnet-11/usr/src/lib/libc/sparc/fp/
H A Dfpgetmask.s38 set 0x0f800000, %o4 ! mask of trap enable bits
42 srl %o0, 23, %o0 ! return trap enable value
H A Dfpsetmask.s47 set 0x0f800000, %o4 ! mask of trap enable bits
57 srl %o0, 23, %o0 ! return old trap enable value
/osnet-11/usr/src/lib/libc/sparcv9/fp/
H A Dfpgetmask.s38 set 0x0f800000, %o4 ! mask of trap enable bits
42 srl %o0, 23, %o0 ! return trap enable value
H A Dfpsetmask.s47 set 0x0f800000, %o4 ! mask of trap enable bits
57 srl %o0, 23, %o0 ! return old trap enable value
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigRat/t/
H A Dtrap.t70 for my $trap (qw/0.1a +inf inf -inf/)
74 eval ("\$x = \$mbi->new('$trap');");
77 eval ("\$x = \$mbi->new('$trap');");
80 eval ("\$x = \$mbi->new('$trap/7');");
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dtrap.c22 * trap [-p] action sig...
39 static const char trapfmt[] = "trap -- %s %s\n";
113 if(arg=shp->st.trap[sig])
117 if(shp->st.trap[sig])
118 free(shp->st.trap[sig]);
119 shp->st.trap[sig] = 0;
121 shp->st.trap[sig] = strdup(action);
124 if(shp->st.trap[sig])
391 register char *trap,**trapcom; local
393 /* use parent traps if otrapcom is set (for $(trap) */
[all...]
/osnet-11/usr/src/lib/libc/i386/sys/
H A Dgettimeofday.s46 / gethrestime trap returns seconds in %eax, nsecs in %edx
H A Dsyscall.s30 #include <sys/trap.h>
/osnet-11/usr/src/lib/libc/sparc/gen/
H A Dsetjmp.s38 #include <sys/trap.h>
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Dsetjmp.s38 #include <sys/trap.h>
/osnet-11/usr/src/lib/libc/sparc/threads/
H A Dasm_subr.s29 #include <sys/trap.h>
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dsigtrap.pm151 trap, plus you can supply your own list of signals.
189 B<sigtrap> has a few built-in lists of signals to trap. They are:
/osnet-11/usr/src/lib/libproc/i386/
H A DPisadep.c29 #include <sys/trap.h>
/osnet-11/usr/src/lib/libshell/common/data/
H A Dbuiltins.c85 "trap", NV_BLTIN|BLT_ENV|BLT_SPC, bltin(trap),
619 "\bEXIT\b trap is set it will be invoked.]"
626 "exit status of preceding command. When invoked inside a trap, the "
627 "preceding command means the command that invoked the trap.]"
1321 "reserved word syntax, then any \bEXIT\b trap set within the "
1519 "[-1c?\n@(#)$Id: trap (AT&T Research) 1999-07-17 $\n]"
1521 "[+NAME?trap - trap signals and conditions]"
1524 "\btrap\b can be used to display the current trap setting
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/IPC/
H A DOpen2.pm56 trap SIGPIPE yourself.
H A DOpen3.pm53 trap SIGPIPE yourself.
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Opcode/
H A DSafe.pm237 sub trap { shift->deny(@_) } subroutine
582 =head2 trap (OP, ...)
586 The trap and untrap methods are synonyms for deny and permit
/osnet-11/usr/src/lib/libshell/common/include/
H A Ddefs.h95 char *trap[SH_DEBUGTRAP+1]; member in struct:sh_scoped
200 char indebug; /* set when in debug trap */ \
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/B/B/
H A DLint.pm64 trap are:
/osnet-11/usr/src/lib/libproc/amd64/
H A DPisadep.c29 #include <sys/trap.h>
/osnet-11/usr/src/lib/libshell/common/edit/
H A Dedit.c1050 if(mode<=0 && ep->sh->st.trap[SH_KEYTRAP])
1553 * Execute keyboard trap on given buffer <inbuff> of given size <isize>
1581 sh_trap(shp->st.trap[SH_KEYTRAP],0);

Completed in 62 milliseconds

12