diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-04-07 06:00:07 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-04-07 06:00:07 +0000 |
commit | 825aead68b26a5857330972bd1c6adb9f78047ab (patch) | |
tree | 41cb71183c7a9bc0812a51f4a16714e400f63170 /internal.h | |
parent | 93d6513d9315fa72d7af4ac2435f8c1e243273cb (diff) | |
download | busybox-825aead68b26a5857330972bd1c6adb9f78047ab.tar.gz |
Patch to make killall actually kill all PIDs with the specified name,
rather then busylooping trying to kill the first one until it dies.
Should be more efficient now, and will only send one signal to each
specified process.
-Erik
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.h b/internal.h index c8c813640..1313f3644 100644 --- a/internal.h +++ b/internal.h @@ -216,7 +216,7 @@ extern char *mtab_next(void **iter); extern char *mtab_getinfo(const char *match, const char which); extern int check_wildcard_match(const char* text, const char* pattern); extern long getNum (const char *cp); -extern pid_t findPidByName( char* pidName); +extern pid_t* findPidByName( char* pidName); extern void *xmalloc (size_t size); extern int find_real_root_device_name(char* name); |