~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man7/pipe.7

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2010-03-02 21:49:58 UTC
  • mfrom: (1.1.42 upstream) (2.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100302214958-69yjgb70t7wrjo3m
New upstream version
. Remove crufty statement in setuid(2) that seteuid() is not in POSIX
(closes: Bug#569812)
. Fix description of 'nochdir' argument in daemon(3) (closes: Bug#554819)
. Fix NAME line in path_resolution(7) (closes: Bug#558300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
.BR write (2)
77
77
blocks until sufficient data has been read from the pipe
78
78
to allow the write to complete.
79
 
Non-blocking I/O is possible by using the
 
79
Nonblocking I/O is possible by using the
80
80
.BR fcntl (2)
81
81
.B F_SETFL
82
82
operation to enable the
142
142
contiguous sequence.
143
143
Writes of more than
144
144
.B PIPE_BUF
145
 
bytes may be non-atomic: the kernel may interleave the data
 
145
bytes may be nonatomic: the kernel may interleave the data
146
146
with data written by other processes.
147
147
POSIX.1-2001 requires
148
148
.B PIPE_BUF
150
150
(On Linux,
151
151
.B PIPE_BUF
152
152
is 4096 bytes.)
153
 
The precise semantics depend on whether the file descriptor is non-blocking
 
153
The precise semantics depend on whether the file descriptor is nonblocking
154
154
.RB ( O_NONBLOCK ),
155
155
whether there are multiple writers to the pipe, and on
156
156
.IR n ,
180
180
.BR EAGAIN .
181
181
.TP
182
182
\fBO_NONBLOCK\fP disabled, \fIn\fP > \fBPIPE_BUF\fP
183
 
The write is non-atomic: the data given to
 
183
The write is nonatomic: the data given to
184
184
.BR write (2)
185
185
may be interleaved with
186
186
.BR write (2)s
242
242
.BR epoll (7),
243
243
.BR fifo (7)
244
244
.SH COLOPHON
245
 
This page is part of release 3.23 of the Linux
 
245
This page is part of release 3.24 of the Linux
246
246
.I man-pages
247
247
project.
248
248
A description of the project,