OSDN Git Service

(split) LDP: Update original to v3.37.
[linuxjm/LDP_man-pages.git] / original / man2 / pipe.2
index b25d94e..e3b1fba 100644 (file)
@@ -33,7 +33,7 @@
 .\"     to EXAMPLE text.
 .\" 2008-10-10, mtk: add description of pipe2()
 .\"
-.TH PIPE 2 2010-09-10 "Linux" "Linux Programmer's Manual"
+.TH PIPE 2 2012-02-14 "Linux" "Linux Programmer's Manual"
 .SH NAME
 pipe, pipe2 \- create pipe
 .SH SYNOPSIS
@@ -43,6 +43,7 @@ pipe, pipe2 \- create pipe
 .BI "int pipe(int " pipefd "[2]);"
 .sp
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
+.BR "#include <fcntl.h>" "              /* Obtain O_* constant definitions */
 .B #include <unistd.h>
 .sp
 .BI "int pipe2(int " pipefd "[2], int " flags );