diff options
Diffstat (limited to 'libbb/find_pid_by_name.c')
-rw-r--r-- | libbb/find_pid_by_name.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/libbb/find_pid_by_name.c b/libbb/find_pid_by_name.c index 92d6d0254..600d4e1a8 100644 --- a/libbb/find_pid_by_name.c +++ b/libbb/find_pid_by_name.c | |||
@@ -67,15 +67,14 @@ static int comm_match(procps_status_t *p, const char *procName) | |||
67 | return 1; | 67 | return 1; |
68 | } | 68 | } |
69 | 69 | ||
70 | /* find_pid_by_name() | 70 | /* This finds the pid of the specified process. |
71 | * Currently, it's implemented by rummaging through | ||
72 | * the proc filesystem. | ||
71 | * | 73 | * |
72 | * Modified by Vladimir Oleynik for use with libbb/procps.c | 74 | * Returns a list of all matching PIDs |
73 | * This finds the pid of the specified process. | 75 | * It is the caller's duty to free the returned pidlist. |
74 | * Currently, it's implemented by rummaging through | ||
75 | * the proc filesystem. | ||
76 | * | 76 | * |
77 | * Returns a list of all matching PIDs | 77 | * Modified by Vladimir Oleynik for use with libbb/procps.c |
78 | * It is the caller's duty to free the returned pidlist. | ||
79 | */ | 78 | */ |
80 | pid_t* FAST_FUNC find_pid_by_name(const char *procName) | 79 | pid_t* FAST_FUNC find_pid_by_name(const char *procName) |
81 | { | 80 | { |