All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] open_by_handle_at.2: Remove unused <sys/stat.h>
@ 2021-04-23  9:52 Alejandro Colomar
  2021-05-09 18:10 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Colomar @ 2021-04-23  9:52 UTC (permalink / raw)
  To: mtk.manpages; +Cc: Alejandro Colomar, linux-man, libc-alpha

AFAICS, all types and constants used by these functions are
defined in <fcntl.h>.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
---
 man2/open_by_handle_at.2 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/man2/open_by_handle_at.2 b/man2/open_by_handle_at.2
index 4a4ddc34e..fa7add5cf 100644
--- a/man2/open_by_handle_at.2
+++ b/man2/open_by_handle_at.2
@@ -29,7 +29,6 @@ for a pathname and open file via a handle
 .SH SYNOPSIS
 .nf
 .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
-.B #include <sys/stat.h>
 .B #include <fcntl.h>
 .PP
 .BI "int name_to_handle_at(int " dirfd ", const char *" pathname ,
-- 
2.31.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] open_by_handle_at.2: Remove unused <sys/stat.h>
  2021-04-23  9:52 [PATCH] open_by_handle_at.2: Remove unused <sys/stat.h> Alejandro Colomar
@ 2021-05-09 18:10 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2021-05-09 18:10 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mtk.manpages, linux-man, libc-alpha

Hi Alex,

On 4/23/21 9:52 PM, Alejandro Colomar wrote:
> AFAICS, all types and constants used by these functions are
> defined in <fcntl.h>.

Thanks.

Patch applied.

Cheers,

Michael


> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
> ---
>  man2/open_by_handle_at.2 | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/man2/open_by_handle_at.2 b/man2/open_by_handle_at.2
> index 4a4ddc34e..fa7add5cf 100644
> --- a/man2/open_by_handle_at.2
> +++ b/man2/open_by_handle_at.2
> @@ -29,7 +29,6 @@ for a pathname and open file via a handle
>  .SH SYNOPSIS
>  .nf
>  .BR "#define _GNU_SOURCE" "         /* See feature_test_macros(7) */"
> -.B #include <sys/stat.h>
>  .B #include <fcntl.h>
>  .PP
>  .BI "int name_to_handle_at(int " dirfd ", const char *" pathname ,
> 


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-09 18:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-23  9:52 [PATCH] open_by_handle_at.2: Remove unused <sys/stat.h> Alejandro Colomar
2021-05-09 18:10 ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.