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/read.2 | |
parent | 584fd0812f68bd000624885be123bf263ed152ff (diff) |
make function names the correct case
Diffstat (limited to 'lib/libc/sys/read.2')
-rw-r--r-- | lib/libc/sys/read.2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/read.2 b/lib/libc/sys/read.2 index 3117ed91db0..4a1cdefc606 100644 --- a/lib/libc/sys/read.2 +++ b/lib/libc/sys/read.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: read.2,v 1.7 1998/08/17 17:35:13 deraadt Exp $ +.\" $OpenBSD: read.2,v 1.8 1999/02/27 21:56:40 deraadt Exp $ .\" $NetBSD: read.2,v 1.6 1995/02/27 12:35:47 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -50,7 +50,7 @@ .Ft ssize_t .Fn readv "int d" "const struct iovec *iov" "int iovcnt" .Sh DESCRIPTION -.Fn Read +.Fn read attempts to read .Fa nbytes of data from the object referenced by the descriptor @@ -82,7 +82,7 @@ Each .Fa iovec entry specifies the base address and length of an area in memory where data should be placed. -.Fn Readv +.Fn readv will always fill an area completely before proceeding to the next. .Pp @@ -125,16 +125,16 @@ Otherwise, a -1 is returned and the global variable .Va errno is set to indicate the error. .Sh ERRORS -.Fn Read +.Fn read and .Fn readv will succeed unless: .Bl -tag -width Er .It Bq Er EBADF -.Fa D +.Fa d is not a valid file or socket descriptor open for reading. .It Bq Er EFAULT -.Fa Buf +.Fa buf points outside the allocated address space. .It Bq Er EIO An I/O error occurred while reading from the file system. @@ -165,7 +165,7 @@ Also, may return one of the following errors: .Bl -tag -width Er .It Bq Er EINVAL -.Fa Iovcnt +.Fa iovcnt was less than or equal to 0, or greater than .Dv IOV_MAX . .It Bq Er EINVAL |