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

Message ID 20210404115847.78166-14-alx.manpages@gmail.com
State Not applicable
Headers
Series None |

Commit Message

Alejandro Colomar April 4, 2021, 11:58 a.m. UTC
  Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/dup.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Michael Kerrisk \(man-pages\) April 5, 2021, 11:32 a.m. UTC | #1
Hi Alex,

On 4/4/21 1:58 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
> ---
>  man2/dup.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.

Thanks,

Michael


> 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 );
>
  

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 );