https://bugzilla.kernel.org/show_bug.cgi?id=14795 Michael Kerrisk <mtk.manpages@xxxxxxxxx> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mtk.manpages@xxxxxxxxx Resolution|--- |CODE_FIX --- Comment #3 from Michael Kerrisk <mtk.manpages@xxxxxxxxx> --- (In reply to blah from comment #0) > 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. > it also shows the d_type byte being > after the offset, but it is before it in bits/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 -- 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html