Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mkfifo(3c) — Atari System V ue12

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(2)

exec(2)

mknod(2)

umask(2)

fs(4)

stat(5)

mkdir(1)





   mkfifo(3C)          (C Programming Language Utilities)           mkfifo(3C)


   NAME
         mkfifo - create a new FIFO

   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.  The mode of the new FIFO is initialized
         from mode.  The file permission bits of the mode argument are
         modified by the process's file creation mask [see umask(2)].

         The FIFO's owner ID is set to the process's effective user ID.  The
         FIFO's group ID is set to the process's effective group ID, or if the
         SISGID bit is set in the parent directory then the group ID of the
         FIFO is inherited from the parent.

         mkfifo calls the system call mknod(2) to make the file.

   NOTES
         Bits other than the file permission bits in mode are ignored.

   SEE ALSO
         chmod(2), exec(2), mknod(2), umask(2), fs(4), stat(5).
         mkdir(1) in the User's Reference Manual.

   DIAGNOSTICS
         Upon successful completion a value of 0 is returned.  Otherwise, a
         value of -1 is returned and errno is set to indicate the error.





















   7/91                                                                 Page 1





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