[Overview][Constants][Types][Procedures and functions] Reference for unit 'BaseUnix' (#rtl)

FpMkfifo

Create FIFO (named pipe) in file system

Declaration

Source position: line 0

function FpMkfifo(

  path: pChar;

  Mode: TMode

):cInt;

function FpMkfifo(

  path: AnsiString;

  Mode: TMode

):cInt;

Description

fpMkFifo creates named a named pipe in the filesystem, with name Path and mode Mode.

The function returns zero if the command was succesful, and nonzero if it failed.

Errors

The error codes include:

sys_emfile
Too many file descriptors for this process.
sys_enfile
The system file table is full.