On 11/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I don't see how that is relevant; the typical use of readdir() is as follows:
>
> DIR *dirp = opendir(name);
>
> while ((dent = readdir(dirp)) != NULL) {
> ...
> }
>
> closedir(dirp);
>
> Noth
On 11/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Why not:
>
> 4. Require the readdir() implementation to use state local to dirp.
>
> I've never understood the rationale behind readdir_r;
Then you never really understood the implementation, seems. Of course
all implementations keep the