Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc Fix .Xr; dirent(5) -> dirent(3).
details: https://anonhg.NetBSD.org/src/rev/44cbb2b0dd62
branches: trunk
changeset: 755385:44cbb2b0dd62
user: jruoho <jruoho%NetBSD.org@localhost>
date: Fri Jun 04 05:42:24 2010 +0000
description:
Fix .Xr; dirent(5) -> dirent(3).
diffstat:
lib/libc/gen/directory.3 | 6 +++---
lib/libc/sys/getdents.2 | 8 ++++----
lib/libc/sys/stat.2 | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r eff50bbe4d94 -r 44cbb2b0dd62 lib/libc/gen/directory.3
--- a/lib/libc/gen/directory.3 Thu Jun 03 22:34:26 2010 +0000
+++ b/lib/libc/gen/directory.3 Fri Jun 04 05:42:24 2010 +0000
@@ -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
diff -r eff50bbe4d94 -r 44cbb2b0dd62 lib/libc/sys/getdents.2
--- a/lib/libc/sys/getdents.2 Thu Jun 03 22:34:26 2010 +0000
+++ b/lib/libc/sys/getdents.2 Fri Jun 04 05:42:24 2010 +0000
@@ -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
diff -r eff50bbe4d94 -r 44cbb2b0dd62 lib/libc/sys/stat.2
--- a/lib/libc/sys/stat.2 Thu Jun 03 22:34:26 2010 +0000
+++ b/lib/libc/sys/stat.2 Fri Jun 04 05:42:24 2010 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index