From 0db324e2e5d9d3347ea0e93138372fb65aac09e6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:09 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man2/pipe.2 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'man2/pipe.2') diff --git a/man2/pipe.2 b/man2/pipe.2 index d8142f9..55e631d 100644 --- a/man2/pipe.2 +++ b/man2/pipe.2 @@ -13,7 +13,7 @@ .\" to EXAMPLE text. .\" 2008-10-10, mtk: add description of pipe2() .\" -.TH pipe 2 2023-07-30 "Linux man-pages 6.05.01" +.TH pipe 2 2023-10-31 "Linux man-pages 6.7" .SH NAME pipe, pipe2 \- create pipe .SH LIBRARY @@ -22,20 +22,20 @@ Standard C library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "int pipe(int " pipefd [2]); -.PP +.P .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .BR "#include " " /* Definition of " O_* " constants */" .B #include -.PP +.P .BI "int pipe2(int " pipefd "[2], int " flags ); -.PP +.P /* On Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64, pipe() has the following prototype; see VERSIONS */ -.PP +.P .B #include -.PP +.P .B struct fd_pair { .B " long fd[2];" .B "};" @@ -56,7 +56,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 +.P If .I flags is 0, then @@ -148,7 +148,7 @@ On error, \-1 is returned, is set to indicate the error, and .I pipefd is left unchanged. -.PP +.P On Linux (and other systems), .BR pipe () does not modify -- cgit v1.2.3