MKFIFO(2) MKFIFO(2)
NAME
mkfifo - make a FIFO special file
C SYNOPSIS
#include <sys/types.h>
#include <sys/stat.h>
int mkfifo (const char *path, modet mode);
DESCRIPTION
The mkfifo routine creates a new FIFO special file named by the pathname
pointed to by path. IRIX implements it via the following mknod call:
mknod(path, (mode | SIFIFO), 0)
where SIFIFO is defined in <sys/stat.h>. Refer to mknod(2) for details.
SEE ALSO
mknod(2), chmod(2), exec(2), pipe(2), stat(2), umask(2).
DIAGNOSTICS
Upon successful completion, mkfifo returns a value of 0. Otherwise, a
value of -1 is returned, no FIFO is created, and errno is set to indicate
the error.
Page 1