Date: Sun, 28 May 2017 09:29:53 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r319064 - head/lib/libc/sys Message-ID: <201705280929.v4S9TrO9013463@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sun May 28 09:29:53 2017 New Revision: 319064 URL: https://svnweb.freebsd.org/changeset/base/319064 Log: Update getdirentries(2) page for new struct dirent layout. Sponsored by: The FreeBSD Foundation Modified: head/lib/libc/sys/getdirentries.2 Modified: head/lib/libc/sys/getdirentries.2 ============================================================================== --- head/lib/libc/sys/getdirentries.2 Sun May 28 09:21:28 2017 (r319063) +++ head/lib/libc/sys/getdirentries.2 Sun May 28 09:29:53 2017 (r319064) @@ -28,7 +28,7 @@ .\" @(#)getdirentries.2 8.2 (Berkeley) 5/3/95 .\" $FreeBSD$ .\" -.Dd May 3, 1995 +.Dd May 28, 2017 .Dt GETDIRENTRIES 2 .Os .Sh NAME @@ -71,10 +71,11 @@ The data in the buffer is a series of .Vt dirent structures each containing the following entries: .Bd -literal -offset indent -uint32_t d_fileno; -uint16_t d_reclen; -uint8_t d_type; -uint8_t d_namlen; +ino_t d_fileno; +off_t d_off; +uint16_t d_reclen; +uint8_t d_type; +uint16_t d_namlen; char d_name[MAXNAMLEN + 1]; /* see below */ .Ed .Pp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705280929.v4S9TrO9013463>