[v5,17/35] fanotify_init.2: Add comment: why more than one include is needed

Message ID 20210404115847.78166-18-alx.manpages@gmail.com
State New
Headers show
Series
  • Untitled series #36400
Related show

Commit Message

Adhemerval Zanella via Libc-alpha April 4, 2021, 11:58 a.m.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

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

-- 
2.31.0

Comments

Adhemerval Zanella via Libc-alpha April 5, 2021, 10:50 a.m. | #1
Hi Alex,

On 4/4/21 1:58 PM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

> ---

>  man2/fanotify_init.2 | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)



Patch applied.

Thanks,

Michael


> 

> diff --git a/man2/fanotify_init.2 b/man2/fanotify_init.2

> index 2418bbdd2..2b44fc6ec 100644

> --- a/man2/fanotify_init.2

> +++ b/man2/fanotify_init.2

> @@ -26,7 +26,7 @@

>  fanotify_init \- create and initialize fanotify group

>  .SH SYNOPSIS

>  .nf

> -.B #include <fcntl.h>

> +.BR "#include <fcntl.h>" "            /* Definition of " O_* " constants */"

>  .B #include <sys/fanotify.h>

>  .PP

>  .BI "int fanotify_init(unsigned int " flags ", unsigned int " event_f_flags );

> 



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

Patch

diff --git a/man2/fanotify_init.2 b/man2/fanotify_init.2
index 2418bbdd2..2b44fc6ec 100644
--- a/man2/fanotify_init.2
+++ b/man2/fanotify_init.2
@@ -26,7 +26,7 @@ 
 fanotify_init \- create and initialize fanotify group
 .SH SYNOPSIS
 .nf
-.B #include <fcntl.h>
+.BR "#include <fcntl.h>" "            /* Definition of " O_* " constants */"
 .B #include <sys/fanotify.h>
 .PP
 .BI "int fanotify_init(unsigned int " flags ", unsigned int " event_f_flags );