Print this page
5025 import and use mandoc
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Albert Lee <trisk@nexenta.com>
Approved by: TBD

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man2/pipe.2
          +++ new/usr/src/man/man2/pipe.2
↓ open down ↓ 33 lines elided ↑ open up ↑
  34   34  \fBO_NONBLOCK\fR, and \fBFD_CLOEXEC\fR flags on both file descriptors. The
  35   35  \fBfcntl\fR(2) function can be used to set these flags.
  36   36  .sp
  37   37  .LP
  38   38  The \fBpipe2()\fR call will clear the \fBO_NDELAY\fR on both filedescriptors.
  39   39  The \fIflags\fR argument may be used to specify attributes on both file
  40   40  descriptors.  \fBpipe2()\fR called with a \fIflags\fR value of 0 will
  41   41  behave identically to \fBpipe()\fR.  Values for \fIflags\fR are constructed
  42   42  by a bitwise-inclusive-OR of flags from the following list, defined in
  43   43  <\fBfcntl.h\fR>.
  44      -.RE
  45   44  
  46   45  .sp
  47   46  .ne 2
  48   47  .na
  49   48  \fB\fBO_NONBLOCK\fR\fR
  50   49  .ad
  51   50  .RS 12n
  52   51  Both file descriptors will be placed in non-blocking mode. This corresponds
  53   52  to the \fBO_NONBLOCK\fR flag to \fBfcntl\fR(2).
  54   53  .RE
↓ open down ↓ 107 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX