pipe – create an interprocess channel
The pipe() function shall create a pipe and place two file descriptors, one each into the arguments fildes and fildes, that refer to the open file descriptions for the read and write ends of the pipe. Their integer values shall be the two lowest available at the time of the pipe() call. The O_NONBLOCK and FD_CLOEXEC flags shall be clear on both file descriptors. (The fcntl() function can be used to set both these flags.)
Data can be written to the file descriptor fildes and read from the file descriptor fildes. A read on the file descriptor fildes shall access data written to the file descriptor fildes on a first-in-first-out basis. It is unspecified whether fildes is also open for writing and whether fildes is also open for reading.
A process has the pipe open for reading (correspondingly writing) if it has a file descriptor open that refers to the read end, fildes (write end, fildes).
Upon successful completion, pipe() shall mark for update the st_atime, st_ctime, and st_mtime fields of the pipe.
Upon successful completion, 0 shall be returned; otherwise, -1 shall be returned and errno set to indicate the error.
The pipe() function shall fail if:
[EMFILE] More than
Using a Pipe to Pass Data Between a Parent Process and a Child Process
The following example demonstrates the use of a pipe to transfer data between a parent process and a child process. Error handling is excluded, but otherwise this code demonstrates good practice when using pipes: after the fork() the two processes close the unused ends of the pipe before they commence transferring data.
The wording carefully avoids using the verb “to open” in order to avoid any implication of use of open(); see also write().
First released in Issue 1. Derived from Issue 1 of the SVID.
The following new requirements on POSIX implementations derive from alignment with the Single UNIX Specification:
The DESCRIPTION is updated to indicate that certain dispositions of fildes and fildes are unspecified.
IEEE Std 1003.1-2001/Cor 2-2004, item XSH/TC2/D6/65 is applied, adding the example to the EXAMPLES section.Pipe set pipe – create an interprocess channel SYNOPSIS DESCRIPTION The pipe () function shall create a pipe and place two file descriptors, one each into the arguments fildes 
without VAT, plus shipping costs
incl. VAT plus shipping costs
Ready to ship today,
Delivery time appr. 1-3 workdays
It comprises one WEICON Repair Stick Steel, a special repair tape made of fibreglass-reinforced plastic, assembly instructions and a pair of protective gloves.
The repair tape is impregnated with a special resin and activated by contact with water.
The Pipe Repair-Kit can be processed without any additional tools and is used for the reliable and permanent sealing of cracks and leaks. It is very easy and quick to use and shows excellent adhesive properties, high pressure and chemical resistance as well as temperature resistance up to 150°C. Within 30 minutes, the tape is fully cured and hard-wearing.
Due to the fabric properties of the tape, the resulting high flexibility and the simple processing, the repair kit is particularly suitable for sealing leaks in bends, T-pieces or in spaces difficult to access.
It can be used on many different surfaces such as stainless steel, aluminium, copper, PVC, many plastics, fibreglass, concrete, ceramics and rubber.It comprises one WEICON Repair Stick Steel, a special repair tape made of fibreglass-reinforced plastic, assembly instructions and a pair of protecti… ]]>