diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-27 21:57:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-02-27 21:57:41 +0000 |
commit | aaf2d58f0d5749cc06139b7e1db0b22881ba61bd (patch) | |
tree | bc799ab769e278dfdecc60b0bbf69c30a578d613 /lib/libc/sys/getdirentries.2 | |
parent | 584fd0812f68bd000624885be123bf263ed152ff (diff) |
make function names the correct case
Diffstat (limited to 'lib/libc/sys/getdirentries.2')
-rw-r--r-- | lib/libc/sys/getdirentries.2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/sys/getdirentries.2 b/lib/libc/sys/getdirentries.2 index 0d57614f334..1266e118810 100644 --- a/lib/libc/sys/getdirentries.2 +++ b/lib/libc/sys/getdirentries.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getdirentries.2,v 1.5 1998/07/06 18:27:23 deraadt Exp $ +.\" $OpenBSD: getdirentries.2,v 1.6 1999/02/27 21:56:17 deraadt Exp $ .\" $NetBSD: getdirentries.2,v 1.7 1995/10/12 15:40:50 jtc Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -45,7 +45,7 @@ .Ft int .Fn getdirentries "int fd" "char *buf" "int nbytes" "long *basep" .Sh DESCRIPTION -.Fn Getdirentries +.Fn getdirentries reads directory entries from the directory referenced by the file descriptor .Fa fd @@ -55,7 +55,7 @@ in a filesystem independent format. Up to .Fa nbytes of data will be transferred. -.Fa Nbytes +.Fa nbytes must be greater than or equal to the block size associated with the file, see @@ -113,7 +113,7 @@ The pointer may not advance by the number of bytes returned by A value of zero is returned when the end of the directory has been reached. .Pp -.Fn Getdirentries +.Fn getdirentries writes the position of the block read into the location pointed to by .Fa basep . Alternatively, the current position pointer may be set and retrieved by @@ -129,7 +129,7 @@ Otherwise, -1 is returned and the global variable .Va errno is set to indicate the error. .Sh ERRORS -.Fn Getdirentries +.Fn getdirentries will fail if: .Bl -tag -width Er .It Bq Er EBADF |