OAR

RTEMS 4.5.1-pre3 On-Line Library


Files and Directories Manager mkfifo - Makes a FIFO special file

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

4.4.16: mkfifo - Makes a FIFO special file

CALLING SEQUENCE:

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


int mkfifo(
  const char *path,
  mode_t      mode
);

STATUS CODES:

EACCES
Search permission is denied for a directory in a file's path prefix
EEXIST
The named file already exists.
ENOENT
A file or directory does not exist.
ENOSPC
No space left on disk.
ENOTDIR
A component of the specified path was not a directory when a directory was expected.
EROFS
Read-only file system.

DESCRIPTION:

The mkfifo() function creates a new FIFO special file named path. The permission bits (modified by the file creation mask) are set from mode. The owner and group IDs for the FIFO are set from the efective user ID and group ID.

NOTES:

NONE


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2000 OAR Corporation