Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/procps/pidof.c

    r2725 r3232  
    77 * Licensed under GPLv2, see file LICENSE in this source tree.
    88 */
     9
     10//usage:#if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT)
     11//usage:#define pidof_trivial_usage
     12//usage:       "[OPTIONS] [NAME]..."
     13//usage:#define USAGE_PIDOF "\n"
     14//usage:#else
     15//usage:#define pidof_trivial_usage
     16//usage:       "[NAME]..."
     17//usage:#define USAGE_PIDOF /* none */
     18//usage:#endif
     19//usage:#define pidof_full_usage "\n\n"
     20//usage:       "List PIDs of all processes with names that match NAMEs"
     21//usage:    USAGE_PIDOF
     22//usage:    IF_FEATURE_PIDOF_SINGLE(
     23//usage:     "\n    -s  Show only one PID"
     24//usage:    )
     25//usage:    IF_FEATURE_PIDOF_OMIT(
     26//usage:     "\n    -o PID  Omit given pid"
     27//usage:     "\n        Use %PPID to omit pid of pidof's parent"
     28//usage:    )
     29//usage:
     30//usage:#define pidof_example_usage
     31//usage:       "$ pidof init\n"
     32//usage:       "1\n"
     33//usage:    IF_FEATURE_PIDOF_OMIT(
     34//usage:       "$ pidof /bin/sh\n20351 5973 5950\n")
     35//usage:    IF_FEATURE_PIDOF_OMIT(
     36//usage:       "$ pidof /bin/sh -o %PPID\n20351 5950")
    937
    1038#include "libbb.h"
Note: See TracChangeset for help on using the changeset viewer.