From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-590EEB7GvNiWaY/ihj7yzEB+6BGkLq7r@public.gmane.org Subject: [Bug 14795] getdents manpage wrong Date: Sun, 12 Apr 2015 05:42:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org https://bugzilla.kernel.org/show_bug.cgi?id=14795 Michael Kerrisk changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Resolution|--- |CODE_FIX --- Comment #3 from Michael Kerrisk --- (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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html