4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / usr.bin / mkfifo / mkfifo.1
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\"
.\" %sccs.include.redist.man%
.\"
.\" @(#)mkfifo.1 8.1 (Berkeley) %G%
.\"
.Dd
.Dt MKFIFO 1
.Os BSD 4.4
.Sh NAME
.Nm mkfifo
.Nd make fifos
.Sh SYNOPSIS
.Nm mkfifo
.Op Fl p
.Ar fifo_name ...
.Sh DESCRIPTION
.Nm Mkfifo
creates the fifos requested, in the order specified,
using mode
.Li \&0777 .
.Pp
Options available are:
.Bl -tag -width Ds
.It Fl p
Create intermediate directories as required. If this option is not
specified, the full path prefix of each operand must already exist.
.El
.Pp
.Nm Mkfifo
requires write permission in the parent directory.
.Pp
.Nm Mkfifo
exits 0 if successful, and >0 if an error occurred.
.Sh STANDARDS
The
.Nm mkfifo
utility is expected to be
.St -p1003.2
compliant.
.Sh SEE ALSO
.Xr mkdir 1 ,
.Xr rm 1,
.Xr mkfifo 2
.Sh HISTORY
The
.Nm
command appears in
.Bx 4.4 .