Fix .Xr; dirent(5) -> dirent(3).
This commit is contained in:
parent
c8bcfd484e
commit
bb1d0e97b1
@ -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 @@ upon reaching the end of the directory or detecting an invalid
|
||||
.Fn seekdir
|
||||
operation.
|
||||
The returned structure is described in
|
||||
.Xr dirent 5 .
|
||||
.Xr dirent 3 .
|
||||
.Pp
|
||||
The returned pointer to the
|
||||
.Em dirent
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user