getdents manpage wrong
https://bugzilla.kernel.org/show_bug.cgi?id=14795
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from [email protected] --- This bug is obsolete. Please test against a newer kernel to see if it still is valid.
Cheers Nick
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
https://bugzilla.kernel.org/show_bug.cgi?id=14795
Michael Kerrisk <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution|--- |CODE_FIX--- Comment #3 from Michael Kerrisk <[email protected]> --- (In reply to blah from comment #0)
Quoted 2 lines
It shows source creating a struct instead of including, which doesn't work when the dents can be 64 or 32 bit,
The problem here is that there is no libc support, so, nothing to incude.
Quoted 2 lines
it also shows the
d_typebyte being
after the offset, but it is before it inbits/dirent.h
This is only true for the 64-bit structure/getdents64(). For getdents(), the description is accurate, ad the example code demonstartes.
The real problem is that the page does not document getdents64() and the structure that it uses. I've now added a description to the page, which will go out with the next release.
Cheers,
Michael
Signature · 6 lines
You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html