Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkfifo(1) — OSF/1 1.0 (TIN) MIPS

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mknod(8)

chmod(2)

mkdir(2)

mknod(2)

umask(2)

mkfifo(1)  —  Commands

OSF

NAME

mkfifo − Makes FIFO special files

SYNOPSIS

mkfifo [-m mode] [-p] file ... 

The mkfifo utility creates FIFO special files in the order specified. 

FLAGS

-m modeSets the file permission bits of the new file to the specified mode value, after creating the FIFO special file.  The mode argument is a symbolic mode string (see chmod), in which the operator characters + (plus sign) and - (dash) are interpreted relative to the default file mode for that file type.  The + character adds permissions to the default mode, and - deletes permissions from the default mode. 

-pCreates any missing intermediate pathname components.  For each file argument that does not name an existing FIFO special file, effects equivalent to those caused by the following command occur:

mkdir -p -m u+wx ‘dirname file‘ &&
mkfifo [-m mode] file

The -m mode flag shown previously is supplied if (and in the same form as) it was supplied to the original invocation of mkfifo.  Each file argument that names an existing FIFO special file is ignored. 

DESCRIPTION

For each file argument, mkfifo performs actions equivalent to the mkfifo() call with the following arguments:

     1.The file argument is used as the pathname argument. 

     2.The value of the bitwise inclusive OR of S_IRUSR, S_IWUSR, S_IRGRP, S_IWGRP, S_IROTH, and S_IWOTH is used as the mode argument. 

NOTES

If mkfifo is terminated by a signal, some of the specified FIFO special files or intermediate directories might have been created anyway. 

EXIT VALUES

The mkfifo utility exits with one of the following values:

0Indicates that all the specified FIFO special files were created successfully. 

>0Indicates that an error occurred. 

RELATED INFORMATION

Commands:  mknod(8). 

Functions:  chmod(2), mkdir(2), mknod(2), umask(2). 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026