Re: portability of 'kill -name'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Blake <ebb9@xxxxxxx> writes:

> I know it is not portable to do "trap '' TERM", since ash only accepts
> signal numbers.  But is it portable to do 'kill -TERM', or must I do
> 'kill -15'?  The manual doesn't currently mention any pitfalls of kill.

Unix version 7 didn't support 'kill -TERM'.  I don't know which Unixes
have it these days, but I suspect most do.

POSIX (without the XSI extension) doesn't support either syntax;
you're supposed to say 'kill -s TERM'.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux