--- Christopher Faylor <[EMAIL PROTECTED]> wrote: > >> How does the linux kill program handle this? > >RedHat's prints a list like > > 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL > > 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE > >... > >Looks hard-coded to me, but I didn't look at the sources. I'll hard-code > >the list in the print_list () function. > > You're looking at the bash built-in. /bin/kill just does this: > > HUP INT QUIT ILL ABRT FPE KILL SEGV PIPE ALRM TERM USR1 USR2 CHLD CONT > STOP TSTP TTIN TTOU TRAP IOT BUS SYS STKFLT URG IO POLL CLD XCPU XFSZ > VTALRM PROF PWR WINCH UNUSED > Indeed. Now, am I correct in thinking that I cannot look at the util-linux sources to see how it works?
__________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/
