[BACK]Return to mkfifo.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / mkfifo

Annotation of src/usr.bin/mkfifo/mkfifo.1, Revision 1.3

1.3     ! etheisen    1: .\"    $OpenBSD: mkfifo.1,v 1.2 1996/06/26 05:37:11 deraadt Exp $
1.1       deraadt     2: .\"    $NetBSD: mkfifo.1,v 1.4 1994/12/23 07:16:54 jtc Exp $
                      3: .\"
                      4: .\" Copyright (c) 1990, 1993
                      5: .\"    The Regents of the University of California.  All rights reserved.
                      6: .\"
                      7: .\" This code is derived from software contributed to Berkeley by
                      8: .\" the Institute of Electrical and Electronics Engineers, Inc.
                      9: .\"
                     10: .\" Redistribution and use in source and binary forms, with or without
                     11: .\" modification, are permitted provided that the following conditions
                     12: .\" are met:
                     13: .\" 1. Redistributions of source code must retain the above copyright
                     14: .\"    notice, this list of conditions and the following disclaimer.
                     15: .\" 2. Redistributions in binary form must reproduce the above copyright
                     16: .\"    notice, this list of conditions and the following disclaimer in the
                     17: .\"    documentation and/or other materials provided with the distribution.
                     18: .\" 3. All advertising materials mentioning features or use of this software
                     19: .\"    must display the following acknowledgement:
                     20: .\"    This product includes software developed by the University of
                     21: .\"    California, Berkeley and its contributors.
                     22: .\" 4. Neither the name of the University nor the names of its contributors
                     23: .\"    may be used to endorse or promote products derived from this software
                     24: .\"    without specific prior written permission.
                     25: .\"
                     26: .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
                     27: .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                     28: .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                     29: .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
                     30: .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                     31: .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                     32: .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                     33: .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                     34: .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                     35: .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                     36: .\" SUCH DAMAGE.
                     37: .\"
                     38: .\"     @(#)mkfifo.1   8.2 (Berkeley) 1/5/94
                     39: .\"
                     40: .Dd January 5, 1994
                     41: .Dt MKFIFO 1
                     42: .Os BSD 4.4
                     43: .Sh NAME
                     44: .Nm mkfifo
1.3     ! etheisen   45: .Nd make fifos or sockets
1.1       deraadt    46: .Sh SYNOPSIS
                     47: .Nm mkfifo
                     48: .Op Fl m Ar mode
1.3     ! etheisen   49: .Op Fl s
        !            50: .Ar filename  ...
1.1       deraadt    51: .Sh DESCRIPTION
                     52: .Nm Mkfifo
1.3     ! etheisen   53: creates the fifos or AF_UNIX sockets requested, in the order specified,
1.1       deraadt    54: using mode
                     55: .Li \&0666
                     56: modified by the current
                     57: .Xr umask 2 .
                     58: .Pp
                     59: The options are as follows:
                     60: .Bl -tag -width Ds
                     61: .It Fl m
                     62: Set the file permission bits of newly-created directories to
                     63: .Ar mode .
                     64: The mode is specified as in
                     65: .Xr chmod 1 .
                     66: In symbolic mode strings, the
                     67: .Dq +
                     68: and
                     69: .Dq -
                     70: operators are interpreted relative to an assumed initial mode of
                     71: .Dq a=rw
1.3     ! etheisen   72: .It Fl s
        !            73: Create AF_UNIX socket names in the file system.
        !            74: This is a non-standard extension.
1.1       deraadt    75: .El
                     76: .Pp
                     77: .Nm Mkfifo
                     78: requires write permission in the parent directory.
                     79: .Pp
                     80: .Nm Mkfifo
                     81: exits 0 if successful, and >0 if an error occurred.
                     82: .Sh SEE ALSO
                     83: .Xr mkdir 1 ,
                     84: .Xr mknod 1 ,
                     85: .Xr rm 1 ,
1.3     ! etheisen   86: .Xr mkfifo 2 ,
        !            87: .Xr socket 2 ,
        !            88: .Xr bind 2
1.1       deraadt    89: .Sh STANDARDS
1.3     ! etheisen   90: With the exception of the
        !            91: .Fl s
        !            92: flag, the
1.1       deraadt    93: .Nm mkfifo
                     94: utility is expected to be
                     95: .St -p1003.2-92
                     96: compliant.
                     97: .Sh HISTORY
                     98: .Nm
                     99: command appears in
                    100: .Bx 4.4 .