Module Name: src
Committed By: jruoho
Date: Fri Jun 4 05:42:24 UTC 2010
Modified Files:
src/lib/libc/gen: directory.3
src/lib/libc/sys: getdents.2 stat.2
Log Message:
Fix .Xr; dirent(5) -> dirent(3).
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/gen/directory.3
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/sys/getdents.2
cvs rdiff -u -r1.45 -r1.46 src/lib/libc/sys/stat.2
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/directory.3
diff -u src/lib/libc/gen/directory.3:1.34 src/lib/libc/gen/directory.3:1.35
--- src/lib/libc/gen/directory.3:1.34 Mon May 17 03:09:06 2010
+++ src/lib/libc/gen/directory.3 Fri Jun 4 05:42:24 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: directory.3,v 1.34 2010/05/17 03:09:06 jruoho Exp $
+.\" $NetBSD: directory.3,v 1.35 2010/06/04 05:42:24 jruoho Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)directory.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd May 17, 2010
+.Dd June 4, 2010
.Dt DIRECTORY 3
.Os
.Sh NAME
@@ -131,7 +131,7 @@
.Fn seekdir
operation.
The returned structure is described in
-.Xr dirent 5 .
+.Xr dirent 3 .
.Pp
The returned pointer to the
.Em dirent
Index: src/lib/libc/sys/getdents.2
diff -u src/lib/libc/sys/getdents.2:1.21 src/lib/libc/sys/getdents.2:1.22
--- src/lib/libc/sys/getdents.2:1.21 Sat May 15 15:38:41 2010
+++ src/lib/libc/sys/getdents.2 Fri Jun 4 05:42:24 2010
@@ -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 @@
.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 @@
.Sh SEE ALSO
.Xr lseek 2 ,
.Xr open 2 ,
-.Xr dirent 5
+.Xr dirent 3
.Sh HISTORY
The
.Fn getdents
Index: src/lib/libc/sys/stat.2
diff -u src/lib/libc/sys/stat.2:1.45 src/lib/libc/sys/stat.2:1.46
--- src/lib/libc/sys/stat.2:1.45 Mon May 31 12:16:20 2010
+++ src/lib/libc/sys/stat.2 Fri Jun 4 05:42:24 2010
@@ -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 @@
.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.