mkfifo(2)

mkfifo - make a FIFO special file

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     mkfifo - make a FIFO special file

C SYNOPSIS
     #include <sys/types.h>
     #include <sys/stat.h>

     int mkfifo (const char *path, mode_t 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 | S_IFIFO), 0)

     where S_IFIFO 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.