diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 3343f8922..fb3f60f44 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -9,6 +9,9 @@ (main): Use getopt_long for option parsing. Implement -l, and -s options. Use test_for_unknown_sig() to test for signal validity. + * mount.cc (longopts): Make static. + (opts): Ditto. + 2002-05-12 Christopher Faylor * mount.cc (do_mount): Default to non-exec option for remote drives. diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml index 4d93d0e8f..e38e73858 100644 --- a/winsup/utils/utils.sgml +++ b/winsup/utils/utils.sgml @@ -142,7 +142,8 @@ same output. kill -Usage: kill [-f] [-sigN] pid1 [pid2 ...] +Usage: kill [-f] [-sigN] [-s sigN] pid1 [pid2 ...] +Usage: kill -l [signal] The kill program allows you to send arbitrary @@ -158,6 +159,9 @@ list of running programs and their Cygwin pids, use the Cygwin ps program. ps -W will display all windows pids. +The kill -l option prints the name of the +given signal, or a list of all signal names if no signal is given. + To send a specific signal, use the -signN option, either with a signal number or a signal name (minus the "SIG" part), like these examples: