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

Michael Kerrisk (man-pages) mtk.manpages@gmail.com
Mon Apr 5 10:50:12 GMT 2021


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/


More information about the Libc-alpha mailing list