Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkfifo(1m) [opensolaris man page]

mkfifo(1M)						  System Administration Commands						mkfifo(1M)

NAME
mkfifo - make FIFO special file SYNOPSIS
/usr/bin/mkfifo [-m mode] path... DESCRIPTION
The mkfifo utility creates the FIFO special files named by its argument list. The arguments are taken sequentially, in the order specified; and each FIFO special file is either created completely or, in the case of an error or signal, not created at all. If errors are encountered in creating one of the special files, mkfifo writes a diagnostic message to the standard error and continues with the remaining arguments, if any. The mkfifo utility calls the library routine mkfifo(3C), with the path argument is passed as the path argument from the command line, and mode is set to the equivalent of a=rw, modified by the current value of the file mode creation mask umask(1). OPTIONS
The following option is supported: -m mode Sets the file permission bits of the newly-created FIFO to the specified mode value. The mode option-argument will be the same as the mode operand defined for the chmod(1) command. In <symbolicmode> strings, the op characters + and - will be interpreted relative to an assumed initial mode of a=rw. OPERANDS
The following operand is supported: file A path name of the FIFO special file to be created. USAGE
See largefile(5) for the description of the behavior of mkfifo when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes). ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of mkfifo: LANG, LC_ALL, LC_CTYPE, LC_MES- SAGES, and NLSPATH. EXIT STATUS
The following exit values are returned: 0 All the specified FIFO special files were created successfully. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWesu | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
mkfifo(3C), attributes(5), environ(5), largefile(5), standards(5) SunOS 5.11 16 Sep 1996 mkfifo(1M)

Check Out this Related Man Page

mkfifo(1)						      General Commands Manual							 mkfifo(1)

NAME
mkfifo - make FIFO (named pipe) special files SYNOPSIS
mode] filename ... DESCRIPTION
creates the FIFO special files named by its operand list. The operands are taken sequentially in the order specified and, if the user has write permission in the appropriate directory, the FIFO is created with permissions 0666 modified by the user's file mode creation mask (see umask(2)). The specific actions performed are equivalent to calling for each filename in the operand list (see mkfifo(3C)). Options recognizes the following command-line options: After creating the FIFO special file, set the permission bits of the new file to the specified mode value. The mode option argument is a symbolic mode string as defined in chmod(1). In the symbolic mode strings, the operators and will be interpreted relative to an initial mode of a=rw. Create any missing intermediate path name components. EXTERNAL INFLUENCES
For information about the UNIX standard environment, see standards(5). Environment Variables determines the locale to use for the locale categories when both and the corresponding environment variable (beginning with do not specify a locale. If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used. determines the locale to use to override any values for locale categories specified by the settings of or any environment variables begin- ning with determines the locale for the interpretation of sequences of bytes of text data as characters (e.g., single- versus multibyte characters in arguments). If any internationalization variable contains an invalid setting, behaves as if all internationalization variables are set to "C". See environ(5). International Code Set Support Single-byte character code sets are supported. RETURN VALUE
returns zero if invoked with at least one operand and if all FIFO special files were created successfully. Otherwise, it prints a diagnos- tic message and returns non-zero. EXAMPLES
The following command creates a FIFO special file named in the current directory: SEE ALSO
chmod(1), umask(1), mknod(1M), mkfifo(3C), standards(5). STANDARDS CONFORMANCE
mkfifo(1)
Man Page