*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> standard/mkfifo (2)              


MKFIFO(2)							     MKFIFO(2)

NAME    [Toc]    [Back]

     mkfifo - make a FIFO special file

C SYNOPSIS    [Toc]    [Back]

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

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     mknod(2), chmod(2), exec(2), pipe(2), stat(2), umask(2).

DIAGNOSTICS    [Toc]    [Back]

     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.

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
mkfifo IRIX make FIFO special file
mkfifo Linux make a FIFO special file (a named pipe)
mkfifo HP-UX make FIFO (named pipe) special files
mknod Tru64 Create a FIFO or special file
pxfisfifo IRIX Tests for pipe or a FIFO special file
mknod IRIX build special file or named pipe (FIFO)
mkfifo NetBSD make a fifo file
mkfifo FreeBSD make a fifo file
mkfifo OpenBSD make a FIFO file
mknod NetBSD make a special file node
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service