summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorjruoho <jruoho@NetBSD.org>2010-06-04 05:42:24 +0000
committerjruoho <jruoho@NetBSD.org>2010-06-04 05:42:24 +0000
commitbb1d0e97b18a6282f7fa91ac994d376b72f0219e (patch)
tree9cc25ae116026a4e78c6150adae6f3291119b636 /lib/libc/sys
parentc8bcfd484eacc5755d9efaee33b1c19f09ef2365 (diff)
Fix .Xr; dirent(5) -> dirent(3).
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/getdents.28
-rw-r--r--lib/libc/sys/stat.26
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/getdents.2 b/lib/libc/sys/getdents.2
index d3bc56728e7..1d580799689 100644
--- a/lib/libc/sys/getdents.2
+++ b/lib/libc/sys/getdents.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: getdents.2,v 1.21 2010/05/15 15:38:41 jruoho Exp $
+.\" $NetBSD: getdents.2,v 1.22 2010/06/04 05:42:24 jruoho Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)getdirentries.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd May 15, 2010
+.Dd June 4, 2010
.Dt GETDENTS 2
.Os
.Sh NAME
@@ -75,7 +75,7 @@ struct dirent {
.Ed
.Pp
The structure is described in
-.Xr dirent 5 .
+.Xr dirent 3 .
.Pp
Entries may be separated by extra space.
The
@@ -125,7 +125,7 @@ error occurred while reading from or writing to the file system.
.Sh SEE ALSO
.Xr lseek 2 ,
.Xr open 2 ,
-.Xr dirent 5
+.Xr dirent 3
.Sh HISTORY
The
.Fn getdents
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index c9020ce8bb9..d8ae9bbc49e 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: stat.2,v 1.45 2010/05/31 12:16:20 njoly Exp $
+.\" $NetBSD: stat.2,v 1.46 2010/06/04 05:42:24 jruoho Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)stat.2 8.4 (Berkeley) 5/1/95
.\"
-.Dd April 17, 2010
+.Dd June 4, 2010
.Dt STAT 2
.Os
.Sh NAME
@@ -153,7 +153,7 @@ are as follows:
.It Va st_size
The size of the file in bytes.
A directory will be a multiple of the size of the
-.Xr dirent 5
+.Xr dirent 3
structure.
Some file systems (notably ZFS) return the number of entries in the directory
instead of the size in bytes.