aboutsummaryrefslogtreecommitdiff
path: root/toys/mkfifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/mkfifo.c')
-rw-r--r--toys/mkfifo.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/toys/mkfifo.c b/toys/mkfifo.c
index a959a480..77cb73ee 100644
--- a/toys/mkfifo.c
+++ b/toys/mkfifo.c
@@ -1,9 +1,21 @@
-/* vi: set sw=4 ts=4: */
-/*
+/* vi: set sw=4 ts=4:
+ *
* mkfifo.c: Create a named pipe.
*
* See http://www.opengroup.org/onlinepubs/009695399/utilities/mkfifo.html
- */
+
+config MKFIFO
+ bool "mkfifo"
+ default y
+ help
+ usage: mkfifo [-m mode] name...
+
+ Makes a named pipe at name.
+
+ -m mode The mode of the pipe(s) created by mkfifo. It defaults
+ to 0644. This number is in octal, optionally preceded
+ by a leading zero.
+*/
#include "toys.h"