From a12f0259f87c6e83773ad0b35f0f33ca880a7388 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 13 Aug 2017 22:35:43 +0200 Subject: [PATCH] pipe.2: ffix Signed-off-by: Michael Kerrisk --- man2/pipe.2 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/man2/pipe.2 b/man2/pipe.2 index 1072b8519..f522e84c7 100644 --- a/man2/pipe.2 +++ b/man2/pipe.2 @@ -39,13 +39,13 @@ pipe, pipe2 \- create pipe .SH SYNOPSIS .nf .B #include -.sp +.PP .BI "int pipe(int " pipefd "[2]);" -.sp +.PP .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .BR "#include " " /* Obtain O_* constant definitions */ .B #include -.sp +.PP .BI "int pipe2(int " pipefd "[2], int " flags ); .fi .SH DESCRIPTION @@ -63,7 +63,7 @@ Data written to the write end of the pipe is buffered by the kernel until it is read from the read end of the pipe. For further details, see .BR pipe (7). - +.PP If .IR flags is 0, then @@ -135,7 +135,7 @@ On success, zero is returned. On error, \-1 is returned, and .I errno is set appropriately. - +.PP On Linux (and other systems), .BR pipe () does not modify @@ -178,7 +178,7 @@ version 2.9. .SH CONFORMING TO .BR pipe (): POSIX.1-2001, POSIX.1-2008. - +.PP .BR pipe2 () is Linux-specific. .SH EXAMPLE @@ -198,7 +198,7 @@ command-line argument to the pipe, and the child reads this string a byte at a time from the pipe and echoes it on standard output. .SS Program source -.nf +.EX #include #include #include @@ -247,7 +247,7 @@ main(int argc, char *argv[]) exit(EXIT_SUCCESS); } } -.fi +.EE .SH SEE ALSO .BR fork (2), .BR read (2),