d_namlen is now 16-bit.
This commit is contained in:
parent
f5a548d35d
commit
545c75e39d
|
@ -1,4 +1,4 @@
|
||||||
.\" $NetBSD: getdents.2,v 1.16 2005/08/19 02:04:54 christos Exp $
|
.\" $NetBSD: getdents.2,v 1.17 2005/09/05 21:58:38 yamt Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1989, 1991, 1993
|
.\" Copyright (c) 1989, 1991, 1993
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)getdirentries.2 8.1 (Berkeley) 6/9/93
|
.\" @(#)getdirentries.2 8.1 (Berkeley) 6/9/93
|
||||||
.\"
|
.\"
|
||||||
.Dd August 15, 2005
|
.Dd September 6, 2005
|
||||||
.Dt GETDENTS 2
|
.Dt GETDENTS 2
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -67,8 +67,8 @@ structures each containing the following entries:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
ino_t d_fileno;
|
ino_t d_fileno;
|
||||||
u_int16_t d_reclen;
|
u_int16_t d_reclen;
|
||||||
|
u_int16_t d_namlen;
|
||||||
u_int8_t d_type;
|
u_int8_t d_type;
|
||||||
u_int8_t d_namlen;
|
|
||||||
char d_name[MAXNAMLEN + 1]; /* see below */
|
char d_name[MAXNAMLEN + 1]; /* see below */
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
|
|
Loading…
Reference in New Issue