From ab1da63822f325c136fcd0db19ed7c1a46e02993 Mon Sep 17 00:00:00 2001 From: Gitea Date: Sun, 13 Dec 2020 01:15:48 -0600 Subject: [PATCH] wrote the man page --- mkfifo.1 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 mkfifo.1 diff --git a/mkfifo.1 b/mkfifo.1 new file mode 100644 index 0000000..5e7d466 --- /dev/null +++ b/mkfifo.1 @@ -0,0 +1,38 @@ +.TH MKFIFO 1 +.SH NAME +mkfifo - create named pipes +.SH SYNOPSIS +.B mkfifo +[\fB\-m\fR \fImode\fR] +.IR file ... +.SH DESCRIPTION +.B mkfifo +creates named pipes (FIFOs) with the given \fIname\fRs. The creation mode can +be specified with the mode argument either as an octal number or as a symbolic +mode (e.g. ugo+rw). Note that the mode argument with be combined with the +default process file mode creation mask as given by umask (i.e. if the mask +is 022, an mode of 0777 will become 0755). +.SH OPTIONS +.TP +.BR "\-m " \fImode\fR +Set the file permission bits of the created pipe to the given mode value. +For symbolic mode strings (e.g. ugo+rx), '+' and '-' are interpretted relative +to an initial mode of \fIugo=rw\fR (0666). +.SH EXAMPLES +.nf +.RS +mkfifo -m 0774 pipe.in +.RE +.fi +.PP +Creates a named pipe with name \fBpipe.in\fR with mode \fI0774^$(umask)\fR. +(I.E. if umask is 023, the mode of \fBpipe.in\fR will be 0754.) +.SH AUTHOR +Written by Kat. +.SH COPYRIGHT +Copyright (C) 2020 The FENIX Project +.PP +This software is free software. Feel free to modify it and/or pass +it around. +.PP +This \fBmkfifo\fR implementation is a part of the fenutils package. \ No newline at end of file