Amiga Unix — 68040 · 68060

Manual pages › System administration commands (1M)

mkfifo(1M)

make FIFO special file

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

Also by this name: mkfifo(1), General commands · mkfifo(3C), C library

NAME

mkfifo - make FIFO special file

SYNOPSIS

mkfifo path ...

DESCRIPTION

mkfifo creates the FIFO special files named by its argument list. The arguments are taken sequentially, in the order specified; and each FIFO special file is either created completely or, in the case of an error or signal, not created at all. For each path argument, the mkfifo command behaves as if the function mkfifo [see mkfifo(3C)] was called with the argument path set to path and the mode set to the bitwise inclusive OR of S_IRUSR, S_IWUSR, S_IRGRP, S_IWGRP, S_IROTH and S_IWOTH. If errors are encountered in creating one of the special files, mkfifo writes a diagnostic message to the standard error and continues with the remaining arguments, if any.

SEE ALSO

mkfifo(3C) in the Programmer's Reference Manual.

DIAGNOSTICS

mkfifo returns exit code 0 if all FIFO special files were created normally; otherwise it prints a diagnostic and returns a value greater than 0.