From 9f266c104e12a1deab07c62f9766d698f03fa5d6 Mon Sep 17 00:00:00 2001 From: njoly Date: Fri, 17 Dec 2010 19:20:42 +0000 Subject: [PATCH] Fix cross-reference, dir(5) -> dirent(3). --- bin/ls/ls.1 | 6 +++--- lib/libc/gen/directory.3 | 4 ++-- lib/libc/gen/scandir.3 | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 995379c0efb8..b14edcc35b57 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -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 @@ or .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 @@ specification. .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 diff --git a/lib/libc/gen/directory.3 b/lib/libc/gen/directory.3 index 21a29495dd45..432cf60aee89 100644 --- a/lib/libc/gen/directory.3 +++ b/lib/libc/gen/directory.3 @@ -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 @@ to indicate the error. .Xr lseek 2 , .Xr open 2 , .Xr read 2 , -.Xr dir 5 +.Xr dirent 3 .Sh STANDARDS The .Fn opendir , diff --git a/lib/libc/gen/scandir.3 b/lib/libc/gen/scandir.3 index e90f1425850a..01d88b2c9425 100644 --- a/lib/libc/gen/scandir.3 +++ b/lib/libc/gen/scandir.3 @@ -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 @@ Returns \-1 if the directory cannot be opened for reading or if 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