aboutsummaryrefslogtreecommitdiff
path: root/libbb/find_pid_by_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/find_pid_by_name.c')
-rw-r--r--libbb/find_pid_by_name.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/find_pid_by_name.c b/libbb/find_pid_by_name.c
index 77fa0179e..930710f32 100644
--- a/libbb/find_pid_by_name.c
+++ b/libbb/find_pid_by_name.c
@@ -2,7 +2,7 @@
2/* 2/*
3 * Utility routines. 3 * Utility routines.
4 * 4 *
5 * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org> 5 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -25,15 +25,15 @@
25#include <stdlib.h> 25#include <stdlib.h>
26#include "libbb.h" 26#include "libbb.h"
27 27
28#define COMM_LEN 16 /* synchronize with size of comm in struct task_struct 28#define COMM_LEN 16 /* synchronize with size of comm in struct task_struct
29 in /usr/include/linux/sched.h */ 29 in /usr/include/linux/sched.h */
30 30
31 31
32/* find_pid_by_name() 32/* find_pid_by_name()
33 * 33 *
34 * Modified by Vladimir Oleynik for use with libbb/procps.c 34 * Modified by Vladimir Oleynik for use with libbb/procps.c
35 * This finds the pid of the specified process. 35 * This finds the pid of the specified process.
36 * Currently, it's implemented by rummaging through 36 * Currently, it's implemented by rummaging through
37 * the proc filesystem. 37 * the proc filesystem.
38 * 38 *
39 * Returns a list of all matching PIDs 39 * Returns a list of all matching PIDs