Module Name: src
Committed By: njoly
Date: Fri Dec 17 19:20:42 UTC 2010
Modified Files:
src/bin/ls: ls.1
src/lib/libc/gen: directory.3 scandir.3
Log Message:
Fix cross-reference, dir(5) -> dirent(3).
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 src/bin/ls/ls.1
cvs rdiff -u -r1.35 -r1.36 src/lib/libc/gen/directory.3
cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gen/scandir.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/ls/ls.1
diff -u src/bin/ls/ls.1:1.65 src/bin/ls/ls.1:1.66
--- src/bin/ls/ls.1:1.65 Fri May 14 17:11:52 2010
+++ src/bin/ls/ls.1 Fri Dec 17 19:20:42 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: ls.1,v 1.65 2010/05/14 17:11:52 joerg Exp $
+.\" $NetBSD: ls.1,v 1.66 2010/12/17 19:20:42 njoly Exp $
.\"
.\" Copyright (c) 1980, 1990, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -430,7 +430,7 @@
.Pp
The number of bytes displayed for a directory is a function of the
number of
-.Xr dirent 5
+.Xr dirent 3
structures in the directory, not all of which may be allocated to
any existing file.
.Sh ENVIRONMENT
@@ -477,8 +477,8 @@
.Xr chflags 1 ,
.Xr chmod 1 ,
.Xr stat 2 ,
+.Xr dirent 3 ,
.Xr getbsize 3 ,
-.Xr dir 5 ,
.Xr sticky 7 ,
.Xr symlink 7
.Sh STANDARDS
Index: src/lib/libc/gen/directory.3
diff -u src/lib/libc/gen/directory.3:1.35 src/lib/libc/gen/directory.3:1.36
--- src/lib/libc/gen/directory.3:1.35 Fri Jun 4 05:42:24 2010
+++ src/lib/libc/gen/directory.3 Fri Dec 17 19:20:42 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: directory.3,v 1.35 2010/06/04 05:42:24 jruoho Exp $
+.\" $NetBSD: directory.3,v 1.36 2010/12/17 19:20:42 njoly Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -369,7 +369,7 @@
.Xr lseek 2 ,
.Xr open 2 ,
.Xr read 2 ,
-.Xr dir 5
+.Xr dirent 3
.Sh STANDARDS
The
.Fn opendir ,
Index: src/lib/libc/gen/scandir.3
diff -u src/lib/libc/gen/scandir.3:1.13 src/lib/libc/gen/scandir.3:1.14
--- src/lib/libc/gen/scandir.3:1.13 Thu Apr 29 08:06:21 2010
+++ src/lib/libc/gen/scandir.3 Fri Dec 17 19:20:42 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: scandir.3,v 1.13 2010/04/29 08:06:21 jruoho Exp $
+.\" $NetBSD: scandir.3,v 1.14 2010/12/17 19:20:42 njoly Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -94,9 +94,9 @@
cannot allocate enough memory to hold all the data structures.
.Sh SEE ALSO
.Xr directory 3 ,
+.Xr dirent 3 ,
.Xr malloc 3 ,
-.Xr qsort 3 ,
-.Xr dir 5
+.Xr qsort 3
.Sh STANDARDS
The
.Fn scandir