summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getdirentries.2
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-02-12 18:29:56 +0000
committered <ed@FreeBSD.org>2012-02-12 18:29:56 +0000
commit23524b572c9490078007a68a1760546e22a8184d (patch)
treeac73d0fee5bb41748009d87a44b179ab6b7d87bc /lib/libc/sys/getdirentries.2
parentf5c5ba680655abbc307ee2fa88397fc168cbdcad (diff)
downloadFreeBSD-src-23524b572c9490078007a68a1760546e22a8184d.zip
FreeBSD-src-23524b572c9490078007a68a1760546e22a8184d.tar.gz
Globally replace u_int*_t from (non-contributed) man pages.
The reasoning behind this, is that if we are consistent in our documentation about the uint*_t stuff, people will be less tempted to write new code that uses the non-standard types. I am not going to bump the man page dates, as these changes can be considered style nits. The meaning of the man pages is unaffected. MFC after: 1 month
Diffstat (limited to 'lib/libc/sys/getdirentries.2')
-rw-r--r--lib/libc/sys/getdirentries.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2
index e16e7f2..3fe1632 100644
--- a/lib/libc/sys/getdirentries.2
+++ b/lib/libc/sys/getdirentries.2
@@ -71,10 +71,10 @@ The data in the buffer is a series of
.Vt dirent
structures each containing the following entries:
.Bd -literal -offset indent
-u_int32_t d_fileno;
-u_int16_t d_reclen;
-u_int8_t d_type;
-u_int8_t d_namlen;
+uint32_t d_fileno;
+uint16_t d_reclen;
+uint8_t d_type;
+uint8_t d_namlen;
char d_name[MAXNAMELEN + 1]; /* see below */
.Ed
.Pp
OpenPOWER on IntegriCloud