[v4,13/35] dup.2: SYNOPSIS: Use consistent comments through pages

Message ID 20210403194026.102818-14-alx.manpages@gmail.com
State Superseded
Headers show
Series
  • SYNOPSIS: Use syscall(SYS_...); and fix '#include's
Related show

Commit Message

Siddhesh Poyarekar via Libc-alpha April 3, 2021, 7:40 p.m.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

---
 man2/dup.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.0

Patch

diff --git a/man2/dup.2 b/man2/dup.2
index 725b9d7d5..b9e0828b0 100644
--- a/man2/dup.2
+++ b/man2/dup.2
@@ -45,7 +45,7 @@  dup, dup2, dup3 \- duplicate a file descriptor
 .BI "int dup2(int " oldfd ", int " newfd );
 .PP
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
-.BR "#include <fcntl.h>" "              /* Obtain O_* constant definitions */"
+.BR "#include <fcntl.h>" "              /* Definition of " O_* " constants */"
 .B #include <unistd.h>
 .PP
 .BI "int dup3(int " oldfd ", int " newfd ", int " flags );