bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Explain how to access data returned from dir_readdir


From: Andrew Eggenberger
Subject: Re: [PATCH] Explain how to access data returned from dir_readdir
Date: Fri, 23 Apr 2021 07:12:22 -0500

Hi Jess,

This is a part of POSIX, the only Hurd-specific thing is the use of the
underlying RPC rather than the standard C function. I don’t see why we should
document things that are universally true rather than Hurd-specific. If you
want to know how to use dirent then go read a POSIX manual.

I see your point. But this is more about the hurd-specific nature of dir_readdir than the dirent struct. readdir in glibc returns one dirent at a time, not something called an array that can’t be reliably treated as one. That’s what this patch is meant to document.

Andrew 

--
Andrew Eggenberger

reply via email to

[Prev in Thread] Current Thread [Next in Thread]