diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 23:36:17 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 23:36:17 +0000 |
commit | ca3c981c07ade7f8fd50ba4bb452a2fadaddc326 (patch) | |
tree | 8763d9f89197adda0ef45ac57418743766345fe4 /include | |
parent | 7039a66b58706457c7423de60556e04545432943 (diff) | |
download | busybox-w32-ca3c981c07ade7f8fd50ba4bb452a2fadaddc326.tar.gz busybox-w32-ca3c981c07ade7f8fd50ba4bb452a2fadaddc326.tar.bz2 busybox-w32-ca3c981c07ade7f8fd50ba4bb452a2fadaddc326.zip |
start_stop_daemon: add -N <nice> compat
[re]nice: add support for -nNNN w/o spaces, -NNN (nice only),
simplified code
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 | ||||
-rw-r--r-- | include/usage.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index bc86e5faf..7b9b83908 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -346,6 +346,7 @@ long xatol_sfx(const char *numstr, const struct suffix_mult *suffixes); | |||
346 | long xatol(const char *numstr); | 346 | long xatol(const char *numstr); |
347 | /* Specialized: */ | 347 | /* Specialized: */ |
348 | unsigned xatou(const char *numstr); | 348 | unsigned xatou(const char *numstr); |
349 | int xatoi_range(const char *numstr, int lower, int upper); | ||
349 | int xatoi(const char *numstr); | 350 | int xatoi(const char *numstr); |
350 | /* Using xatoi() instead of naive atoi() is not always convenient - | 351 | /* Using xatoi() instead of naive atoi() is not always convenient - |
351 | * in many places people want *non-negative* values, but store them | 352 | * in many places people want *non-negative* values, but store them |
diff --git a/include/usage.h b/include/usage.h index c9e501903..ef348a2a9 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2691,6 +2691,7 @@ USE_FEATURE_MDEV_CONFIG( \ | |||
2691 | USE_FEATURE_START_STOP_DAEMON_FANCY( \ | 2691 | USE_FEATURE_START_STOP_DAEMON_FANCY( \ |
2692 | "\n\t-o|--oknodo\t\t\texit status 0 if nothing done" \ | 2692 | "\n\t-o|--oknodo\t\t\texit status 0 if nothing done" \ |
2693 | "\n\t-v|--verbose\t\t\tbe verbose" \ | 2693 | "\n\t-v|--verbose\t\t\tbe verbose" \ |
2694 | "\n\t-N|--nicelevel <N>\t\tadd N to process's nice level" \ | ||
2694 | ) \ | 2695 | ) \ |
2695 | "\n\t-s|--signal <signal>\t\tsignal to send (default TERM)" \ | 2696 | "\n\t-s|--signal <signal>\t\tsignal to send (default TERM)" \ |
2696 | "\n\t-U|--chuid <username>|<uid>\tstart process with this name" | 2697 | "\n\t-U|--chuid <username>|<uid>\tstart process with this name" |