All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] getdents.2: Mention glibc support for getdents64()
@ 2019-10-07 13:53 Petr Vorel
  2020-04-14  9:43 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2019-10-07 13:53 UTC (permalink / raw)
  To: linux-man; +Cc: Petr Vorel, Michael Kerrisk

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 man2/getdents.2 | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/man2/getdents.2 b/man2/getdents.2
index 712d23c58..a6b7aad1f 100644
--- a/man2/getdents.2
+++ b/man2/getdents.2
@@ -40,7 +40,8 @@ getdents, getdents64 \- get directory entries
 .fi
 .PP
 .IR Note :
-There are no glibc wrappers for these system calls; see NOTES.
+There is no glibc wrapper for getdents().
+Wrapper for getdents64() was added in glibc 2.30; see NOTES.
 .SH DESCRIPTION
 These are not the interfaces you are interested in.
 Look at
@@ -203,9 +204,11 @@ File descriptor does not refer to a directory.
 SVr4.
 .\" SVr4 documents additional ENOLINK, EIO error conditions.
 .SH NOTES
-Glibc does not provide a wrapper for these system calls; call them using
+Library support for getdents64() was added in glibc 2.30;
+there is no glibc wrapper for getdents();
+call getdents() (or getdents64() on earlier versions) requires using
 .BR syscall (2).
-You will need to define the
+In that case you will need to define the
 .I linux_dirent
 or
 .I linux_dirent64
-- 
2.23.0


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

* Re: [PATCH 1/1] getdents.2: Mention glibc support for getdents64()
  2019-10-07 13:53 [PATCH 1/1] getdents.2: Mention glibc support for getdents64() Petr Vorel
@ 2020-04-14  9:43 ` Michael Kerrisk (man-pages)
  2020-04-14 18:10   ` Petr Vorel
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-04-14  9:43 UTC (permalink / raw)
  To: Petr Vorel, linux-man; +Cc: mtk.manpages

Hello Petr,

On 10/7/19 3:53 PM, Petr Vorel wrote:
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
> ---
>  man2/getdents.2 | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/man2/getdents.2 b/man2/getdents.2
> index 712d23c58..a6b7aad1f 100644

Thanks. Patch applied.

Cheers,

Michael


> --- a/man2/getdents.2
> +++ b/man2/getdents.2
> @@ -40,7 +40,8 @@ getdents, getdents64 \- get directory entries
>  .fi
>  .PP
>  .IR Note :
> -There are no glibc wrappers for these system calls; see NOTES.
> +There is no glibc wrapper for getdents().
> +Wrapper for getdents64() was added in glibc 2.30; see NOTES.
>  .SH DESCRIPTION
>  These are not the interfaces you are interested in.
>  Look at
> @@ -203,9 +204,11 @@ File descriptor does not refer to a directory.
>  SVr4.
>  .\" SVr4 documents additional ENOLINK, EIO error conditions.
>  .SH NOTES
> -Glibc does not provide a wrapper for these system calls; call them using
> +Library support for getdents64() was added in glibc 2.30;
> +there is no glibc wrapper for getdents();
> +call getdents() (or getdents64() on earlier versions) requires using
>  .BR syscall (2).
> -You will need to define the
> +In that case you will need to define the
>  .I linux_dirent
>  or
>  .I linux_dirent64
> 


-- 
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] 5+ messages in thread

* Re: [PATCH 1/1] getdents.2: Mention glibc support for getdents64()
  2020-04-14  9:43 ` Michael Kerrisk (man-pages)
@ 2020-04-14 18:10   ` Petr Vorel
  2020-04-15  6:42     ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 5+ messages in thread
From: Petr Vorel @ 2020-04-14 18:10 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: linux-man, David Howells

Hi Michael,

> On 10/7/19 3:53 PM, Petr Vorel wrote:
> > Signed-off-by: Petr Vorel <pvorel@suse.cz>
> > ---
> >  man2/getdents.2 | 9 ++++++---
> >  1 file changed, 6 insertions(+), 3 deletions(-)

> > diff --git a/man2/getdents.2 b/man2/getdents.2
> > index 712d23c58..a6b7aad1f 100644

> Thanks. Patch applied.
Thanks a lot. I still don't see this patch in master (nor in other branches),
but you just maybe haven't pushed the changes.

BTW it'd be great if you push patch "Add manpage for fsopen(2), fspick(2) and
fsmount(2)" [1] and "Add manpages for move_mount(2) and open_tree(2)" [2] I sent
2 months ago. It's based on David Howells' work with few obvious fixes.
It might not be perfect, but IMHO it's a good start and it'd be great to have
these recent syscalls documented.

Kind regards,
Petr

[1] https://marc.info/?l=linux-man&m=158109737807969&w=2
[2] https://marc.info/?l=linux-man&m=158109737907972&w=2

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

* Re: [PATCH 1/1] getdents.2: Mention glibc support for getdents64()
  2020-04-14 18:10   ` Petr Vorel
@ 2020-04-15  6:42     ` Michael Kerrisk (man-pages)
  2020-04-15  7:44       ` Petr Vorel
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-04-15  6:42 UTC (permalink / raw)
  To: Petr Vorel; +Cc: mtk.manpages, linux-man, David Howells

Hello Petr,

On 4/14/20 8:10 PM, Petr Vorel wrote:
> Hi Michael,
> 
>> On 10/7/19 3:53 PM, Petr Vorel wrote:
>>> Signed-off-by: Petr Vorel <pvorel@suse.cz>
>>> ---
>>>  man2/getdents.2 | 9 ++++++---
>>>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
>>> diff --git a/man2/getdents.2 b/man2/getdents.2
>>> index 712d23c58..a6b7aad1f 100644
> 
>> Thanks. Patch applied.
> Thanks a lot. I still don't see this patch in master (nor in other branches),
> but you just maybe haven't pushed the changes.

Yes, I've puushed now.

> 
> BTW it'd be great if you push patch "Add manpage for fsopen(2), fspick(2) and
> fsmount(2)" [1] and "Add manpages for move_mount(2) and open_tree(2)" [2] I sent
> 2 months ago. It's based on David Howells' work with few obvious fixes.
> It might not be perfect, but IMHO it's a good start and it'd be great to have
> these recent syscalls documented.
> 
> Kind regards,
> Petr
> 
> [1] https://marc.info/?l=linux-man&m=158109737807969&w=2
> [2] https://marc.info/?l=linux-man&m=158109737907972&w=2

These patches are on my radar still, Pester me in 
a few days if nothing happens :-).

Thanks,

Michael



-- 
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] 5+ messages in thread

* Re: [PATCH 1/1] getdents.2: Mention glibc support for getdents64()
  2020-04-15  6:42     ` Michael Kerrisk (man-pages)
@ 2020-04-15  7:44       ` Petr Vorel
  0 siblings, 0 replies; 5+ messages in thread
From: Petr Vorel @ 2020-04-15  7:44 UTC (permalink / raw)
  To: Michael Kerrisk (man-pages); +Cc: linux-man, David Howells

Hi Michael,

...
> >> Thanks. Patch applied.
> > Thanks a lot. I still don't see this patch in master (nor in other branches),
> > but you just maybe haven't pushed the changes.

> Yes, I've puushed now.
Thanks a lot!

> > BTW it'd be great if you push patch "Add manpage for fsopen(2), fspick(2) and
> > fsmount(2)" [1] and "Add manpages for move_mount(2) and open_tree(2)" [2] I sent
> > 2 months ago. It's based on David Howells' work with few obvious fixes.
> > It might not be perfect, but IMHO it's a good start and it'd be great to have
> > these recent syscalls documented.

> > Kind regards,
> > Petr

> > [1] https://marc.info/?l=linux-man&m=158109737807969&w=2
> > [2] https://marc.info/?l=linux-man&m=158109737907972&w=2

> These patches are on my radar still, Pester me in 
> a few days if nothing happens :-).
Thanks a lot, fully understand that you're busy :).

Kind regards,
Petr

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

end of thread, other threads:[~2020-04-15  7:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 13:53 [PATCH 1/1] getdents.2: Mention glibc support for getdents64() Petr Vorel
2020-04-14  9:43 ` Michael Kerrisk (man-pages)
2020-04-14 18:10   ` Petr Vorel
2020-04-15  6:42     ` Michael Kerrisk (man-pages)
2020-04-15  7:44       ` Petr Vorel

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.