summaryrefslogtreecommitdiffstats
path: root/winsup/utils/kill.cc
Commit message (Collapse)AuthorAgeFilesLines
* * kill.cc (prog_name) New global variable.Christopher Faylor2002-05-131-7/+51
| | | | | | | | (usage) Standardize usage output. Add descriptions. (print_version) New function. (longopts) Accomodate new version option. (opts) Ditto. (main) Ditto.
* * kill.cc (listsig): Display numeric id when given symbolic input.Christopher Faylor2002-05-131-1/+4
|
* * kill.cc (usage): Show new options. Allow specification of output stream.Christopher Faylor2002-05-131-3/+7
| | | | (main): Implement 'h' option.
* * Makefile.in (kill.exe): Add as a specific target.Christopher Faylor2002-05-131-25/+93
| | | | | | | | | | * kill.cc (longopts): New. (opts): Ditto. (get_sig): Accept const char * parameter. Return -1 on unknown signal. (test_for_unknown_sig): New function. (listsig): New function. (main): Use getopt_long for option parsing. Implement -l, and -s options. Use test_for_unknown_sig() to test for signal validity.
* * kill.cc (usage): Move to top of file.Christopher Faylor2002-03-111-40/+36
| | | | | (getsig): Ditto. (forcekill): Ditto.
* * kill.cc (main): Set exit value to 1 on invalid pid. Perform minor cleanup.Christopher Faylor2001-10-081-22/+15
|
* Update copyright.Christopher Faylor2001-03-181-1/+1
|
* * kill.cc (forcekill): Use dwProcessId when opening a process, not the CygwinChristopher Faylor2001-03-181-1/+1
| | | | pid.
* * kill.cc (main): Return 1 in case of errors.Corinna Vinschen2000-11-021-1/+3
|
* * ps.cc (main): Change order of reporting slightly so that windows pids areChristopher Faylor2000-10-091-1/+1
| | | | | | | | more obvious. * strace.cc (add_child): Just add child's pid directly. (remove_child): No need to close the child process pid since ContinueDebugEvent does that automatically. (proc_child): Ditto for child thread.
* * kill.cc (main): Change behavior of -f so that it will force the killing of aChristopher Faylor2000-09-131-6/+16
| | | | | | cygwin process after waiting 2 tenths of a second for it to terminate. (forcekill): Add an extra argument determining whether to wait for the process to exit.
* * kill.c (main): Avoid skipping next argument when a signal number isChristopher Faylor2000-08-291-1/+1
| | | | | specified. * Makefile.in: Always clean dumper.exe.
* * Makefile.in: Add dumper.exe target and associated mechanisms for building it.Christopher Faylor2000-08-241-1/+1
| | | | | | | * dumper.cc: New file. * dumper.h: New file. * module_info.cc: New file. * parse_pe.cc: New file.
* * kill.cc (main): Add '-f' option to force termination of a process.Christopher Faylor2000-07-291-15/+47
| | | | | | | | | (forcekill): New function. * ps.cc (main): Add '-W' option to list Windows pids as well as Cygwin pids. (dummyprocessmodules): New function. (GetModuleFileNameEx95): New function. (init_win): New function. (to_time_t): New function.
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+85