This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: big kill patch (adds list/help/version)
- From: Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
- To: cygwin-patches at cygwin dot com
- Date: Mon, 11 Mar 2002 07:48:07 -0800 (PST)
- Subject: Re: big kill patch (adds list/help/version)
--- Christopher Faylor <cgf@redhat.com> 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/