summaryrefslogtreecommitdiff
path: root/miscutils/setsid.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/setsid.c')
-rw-r--r--miscutils/setsid.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/miscutils/setsid.c b/miscutils/setsid.c
index c573fae..ad2c8a4 100644
--- a/miscutils/setsid.c
+++ b/miscutils/setsid.c
@@ -14,6 +14,13 @@
* - busyboxed
*/
+//usage:#define setsid_trivial_usage
+//usage: "PROG ARGS"
+//usage:#define setsid_full_usage "\n\n"
+//usage: "Run PROG in a new session. PROG will have no controlling terminal\n"
+//usage: "and will not be affected by keyboard signals (Ctrl-C etc).\n"
+//usage: "See setsid(2) for details."
+
#include "libbb.h"
int setsid_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;