PIPE man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

PIPE(3)								       PIPE(3)

NAME
       pipe - two-way interprocess communication

SYNOPSIS
       bind #| dir

       dir/data
       dir/data1

DESCRIPTION
       An  attach(5)  of  this	device	allocates  two new cross-connected I/O
       streams, dir/data and dir/data1.

       Data written to one channel becomes available for reading at the other.
       Write boundaries are preserved: each read terminates when the read buf‐
       fer is full or after reading the last byte of a write, whichever	 comes
       first.

       Writes are atomic up to a certain size, typically 32768 bytes, that is,
       each write will be delivered in a single read by	 the  recipient,  pro‐
       vided the receiving buffer is large enough.

       If there are multiple writers, each write is guaranteed to be available
       in a contiguous piece at the other end of the pipe.  If there are  mul‐
       tiple readers, each read will return data from only one write.

       The  pipe(2)  system call performs an attach of this device and returns
       file descriptors to the new pipe's data and data1 files.	 The files are
       open with mode ORDWR.

SEE ALSO
       pipe(2)

SOURCE
       /sys/src/9/port/devpipe.c

								       PIPE(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net