From d5563c9427b5aa65e9703e4c1b02b81ce2270d84 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 14 Feb 2012 10:19:54 +1300 Subject: [PATCH] dup.2: SYNOPSIS: Add "#include " for O_* constants Signed-off-by: Michael Kerrisk --- man2/dup.2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man2/dup.2 b/man2/dup.2 index 0daff0799..dba82a66c 100644 --- a/man2/dup.2 +++ b/man2/dup.2 @@ -33,7 +33,7 @@ .\" details for dup2(). .\" 2008-10-09, mtk: add description of dup3() .\" -.TH DUP 2 2010-09-10 "Linux" "Linux Programmer's Manual" +.TH DUP 2 2012-02-14 "Linux" "Linux Programmer's Manual" .SH NAME dup, dup2, dup3 \- duplicate a file descriptor .SH SYNOPSIS @@ -44,6 +44,7 @@ dup, dup2, dup3 \- duplicate a file descriptor .BI "int dup2(int " oldfd ", int " newfd ); .sp .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" +.BR "#include " " /* Obtain O_* constant definitions */ .B #include .sp .BI "int dup3(int " oldfd ", int " newfd ", int " flags );