Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkfifo(1) [opendarwin man page]

MKFIFO(1)						    BSD General Commands Manual 						 MKFIFO(1)

NAME
mkfifo -- make fifos SYNOPSIS
mkfifo [-m mode] fifo_name ... DESCRIPTION
The mkfifo utility creates the fifos requested, in the order specified. The options are as follows: -m Set the file permission bits of the created fifos to the specified mode, ignoring the umask(2) of the calling process. The mode argument takes any format that can be specified to the chmod(1) command. If a symbolic mode is specified, the op symbols ``+'' (plus) and ``-'' (hyphen) are interpreted relative to an assumed initial mode of ``a=rw'' (read and write permissions for all). If the -m option is not specified, fifos are created with mode 0666 modified by the umask(2) of the calling process. The mkfifo utility requires write permission in the parent directory. DIAGNOSTICS
The mkfifo utility exits 0 on success, and >0 if an error occurs. STANDARDS
The mkfifo utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compliant. SEE ALSO
mkdir(1), rm(1), mkfifo(2), mknod(2), mknod(8) HISTORY
The mkfifo command appeared in 4.4BSD. BSD
January 5, 1994 BSD

Check Out this Related Man Page

MKFIFO(1)						    BSD General Commands Manual 						 MKFIFO(1)

NAME
mkfifo -- make fifos SYNOPSIS
mkfifo [-m mode] fifo_name ... DESCRIPTION
The mkfifo utility creates the fifos requested, in the order specified. The options are as follows: -m Set the file permission bits of the created fifos to the specified mode, ignoring the umask(2) of the calling process. The mode argument takes any format that can be specified to the chmod(1) command. If a symbolic mode is specified, the op symbols '+' (plus) and '-' (hyphen) are interpreted relative to an assumed initial mode of ``a=rw'' (read and write permissions for all). If the -m option is not specified, fifos are created with mode 0666 modified by the umask(2) of the calling process. The mkfifo utility requires write permission in the parent directory. EXIT STATUS
The mkfifo utility exits 0 on success, and >0 if an error occurs. SEE ALSO
mkdir(1), rm(1), mkfifo(2), mknod(2), mknod(8) STANDARDS
The mkfifo utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compliant. HISTORY
The mkfifo command appeared in 4.4BSD. BSD
January 5, 1994 BSD
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Struggling with mkfifo

Gurus, I did my research (on google, this site and my local library) but I am *still* lost. I am trying to teach myself about `named pipes` playing around with MKFIFO (Why not?). (1) It seems MKNOD is reserved to ROOT whereas MKFIFO is accessible to all users. Am I correct? If the answer is... (20 Replies)
Discussion started by: alan
20 Replies

2. UNIX for Advanced & Expert Users

stuck....!

I have been busy reading away on devices and filesystems and I am stuck on a particular subject matter.. I'm not understanding the concept behind mknod mkfifo makedev or related commands.. can anyone shed some light on the subject.! any feedback welcome! moxxx68 (0 Replies)
Discussion started by: moxxx68
0 Replies

3. Programming

forks, ipc, fifos, update issues...

Hi, so I've got this program("main") that fork executes another ("user"). These programs communicate through fifos. One communication is a spawn call, where user passes an executable, main forks and executes it. So, I'm keeping track of all my processes using a task table. After the fork (for... (6 Replies)
Discussion started by: Funktar
6 Replies

4. UNIX for Dummies Questions & Answers

Viewing the permissions history

For example I am creating a file with 646 mode and then later I changed to 767 mode .after some time I want to see what was the initial permission mode . Here it's 646.. Can we retrieve this info from anywhere ? Thanks (1 Reply)
Discussion started by: pandeesh
1 Replies

5. UNIX for Dummies Questions & Answers

How to Lock the Script?

Hi All, Seeking for your assistance on how to lock the script if it's running? meaning anybody can't run my script while it's running. Please advise, Thanks, (8 Replies)
Discussion started by: nikki1200
8 Replies