FENIX_coreutils/mkfifo.1
2020-12-13 01:15:48 -06:00

38 lines
No EOL
1.1 KiB
Groff

.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.