summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/write.2
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-02-27 21:54:48 +0000
committerderaadt <deraadt@openbsd.org>1999-02-27 21:54:48 +0000
commit960f8fbd44b728dd399b6f0cecfac7f0443ae77a (patch)
tree7c7161599c52771fdf4d5c9d491663056a570428 /lib/libc/sys/write.2
parentdo not divide by zero; helbig@Informatik.BA-Stuttgart.DE (diff)
downloadwireguard-openbsd-960f8fbd44b728dd399b6f0cecfac7f0443ae77a.tar.xz
wireguard-openbsd-960f8fbd44b728dd399b6f0cecfac7f0443ae77a.zip
make function names the correct case
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r--lib/libc/sys/write.212
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2
index 7461bf661ba..dfe8350fa1d 100644
--- a/lib/libc/sys/write.2
+++ b/lib/libc/sys/write.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: write.2,v 1.8 1998/08/17 17:35:17 deraadt Exp $
+.\" $OpenBSD: write.2,v 1.9 1999/02/27 21:57:02 deraadt Exp $
.\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -50,7 +50,7 @@
.Ft ssize_t
.Fn writev "int d" "const struct iovec *iov" "int iovcnt"
.Sh DESCRIPTION
-.Fn Write
+.Fn write
attempts to write
.Fa nbytes
of data to 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 from which data should be written.
-.Fn Writev
+.Fn writev
will always write a complete area before proceeding
to the next.
.Pp
@@ -137,13 +137,13 @@ is returned. Otherwise a -1 is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
-.Fn Write
+.Fn write
and
.Fn writev
will fail and the file pointer will remain unchanged if:
.Bl -tag -width Er
.It Bq Er EBADF
-.Fa D
+.Fa d
is not a valid descriptor open for writing.
.It Bq Er EPIPE
An attempt is made to write to a pipe that is not open
@@ -192,7 +192,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