diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-31 05:45:34 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-07-31 05:45:34 +0000 |
commit | 9828302f4661d9437121bb2ad820816c7c6369a7 (patch) | |
tree | 84783016870fe505df7a5ffbc728aee48952f3f3 /lib/libc/sys/getdirentries.2 | |
parent | 4f5f5209b0bdf8380c548651630e7bbd15b8ff15 (diff) |
Document that entries with d_fileno == 0 are invalid.
From Egil Möller <redhog@mini.dhs.org>
Diffstat (limited to 'lib/libc/sys/getdirentries.2')
-rw-r--r-- | lib/libc/sys/getdirentries.2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index fe998aa5698..60f989cfb42 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getdirentries.2,v 1.9 2000/10/18 05:12:09 aaron Exp $ +.\" $OpenBSD: getdirentries.2,v 1.10 2001/07/31 05:45:33 art Exp $ .\" $NetBSD: getdirentries.2,v 1.7 1995/10/12 15:40:50 jtc Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -103,6 +103,10 @@ entry may be used as an offset from the start of a .Fa dirent structure to the next structure, if any. .Pp +Invalid entries with +.Fa d_fileno +set to 0, may be returned among regular entries. +.Pp The actual number of bytes transferred is returned. The current position pointer associated with .Fa fd |