Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administration Commandsmkfifo(1M)


NAME

 mkfifo - make FIFO special file

SYNOPSIS

 /usr/bin/mkfifo [-m mode] path ...

DESCRIPTION

 

The mkfifo command 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 command 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
Set 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 ( 231 bytes).

ENVIRONMENT VARIABLES

 

See environ(5) for descriptions of the following environment variables that affect the execution of mkfifo: LC_CTYPE, LC_MESSAGES, 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 TYPEATTRIBUTE VALUE
AvailabilitySUNWesu

SEE ALSO

 

mkfifo(3C), attributes(5), environ(5), largefile(5)


SunOS 5.9Go To TopLast Changed 16 Sep 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.