1*40396b53Swiz.\" $NetBSD: mkfifo.1,v 1.13 2017/07/04 07:03:32 wiz Exp $ 27280395fSjtc.\" 37280395fSjtc.\" Copyright (c) 1990, 1993 47280395fSjtc.\" The Regents of the University of California. All rights reserved. 561f28255Scgd.\" 661f28255Scgd.\" This code is derived from software contributed to Berkeley by 761f28255Scgd.\" the Institute of Electrical and Electronics Engineers, Inc. 861f28255Scgd.\" 961f28255Scgd.\" Redistribution and use in source and binary forms, with or without 1061f28255Scgd.\" modification, are permitted provided that the following conditions 1161f28255Scgd.\" are met: 1261f28255Scgd.\" 1. Redistributions of source code must retain the above copyright 1361f28255Scgd.\" notice, this list of conditions and the following disclaimer. 1461f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright 1561f28255Scgd.\" notice, this list of conditions and the following disclaimer in the 1661f28255Scgd.\" documentation and/or other materials provided with the distribution. 1789aaa1bbSagc.\" 3. Neither the name of the University nor the names of its contributors 1861f28255Scgd.\" may be used to endorse or promote products derived from this software 1961f28255Scgd.\" without specific prior written permission. 2061f28255Scgd.\" 2161f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2261f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2361f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2461f28255Scgd.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2561f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2661f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2761f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2861f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2961f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3061f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3161f28255Scgd.\" SUCH DAMAGE. 3261f28255Scgd.\" 337280395fSjtc.\" @(#)mkfifo.1 8.2 (Berkeley) 1/5/94 3461f28255Scgd.\" 357280395fSjtc.Dd January 5, 1994 3661f28255Scgd.Dt MKFIFO 1 379e44e9b5Sgarbled.Os 3861f28255Scgd.Sh NAME 3961f28255Scgd.Nm mkfifo 4061f28255Scgd.Nd make fifos 4161f28255Scgd.Sh SYNOPSIS 42f027bde2Slukem.Nm 436b020f1eSjtc.Op Fl m Ar mode 4461f28255Scgd.Ar fifo_name ... 4561f28255Scgd.Sh DESCRIPTION 46f027bde2Slukem.Nm 4761f28255Scgdcreates the fifos requested, in the order specified, 4861f28255Scgdusing mode 496b020f1eSjtc.Li \&0666 506b020f1eSjtcmodified by the current 516b020f1eSjtc.Xr umask 2 . 5261f28255Scgd.Pp 536b020f1eSjtcThe options are as follows: 5461f28255Scgd.Bl -tag -width Ds 556b020f1eSjtc.It Fl m 56bf2f90e7SwizSet the file permission bits of newly-created fifos to 576b020f1eSjtc.Ar mode . 586b020f1eSjtcThe mode is specified as in 596b020f1eSjtc.Xr chmod 1 . 606b020f1eSjtcIn symbolic mode strings, the 616b020f1eSjtc.Dq + 626b020f1eSjtcand 636b020f1eSjtc.Dq - 646b020f1eSjtcoperators are interpreted relative to an assumed initial mode of 656b020f1eSjtc.Dq a=rw 6661f28255Scgd.El 6761f28255Scgd.Pp 68f027bde2Slukem.Nm 6961f28255Scgdrequires write permission in the parent directory. 70*40396b53Swiz.Sh EXIT STATUS 71*40396b53Swiz.Ex -std 7261f28255Scgd.Sh SEE ALSO 7361f28255Scgd.Xr mkdir 1 , 747280395fSjtc.Xr rm 1 , 75830d7a54Smikel.Xr mkfifo 2 , 76830d7a54Smikel.Xr mknod 8 777280395fSjtc.Sh STANDARDS 7861f28255ScgdThe 79f027bde2Slukem.Nm 807280395fSjtcutility is expected to be 817280395fSjtc.St -p1003.2-92 827280395fSjtccompliant. 837280395fSjtc.Sh HISTORY 847280395fSjtc.Nm 85830d7a54Smikelcommand appeared in 867280395fSjtc.Bx 4.4 . 87