summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorfair <fair@NetBSD.org>2000-05-17 10:24:13 +0000
committerfair <fair@NetBSD.org>2000-05-17 10:24:13 +0000
commit098894016b75bec8cb68e075be478f45b1f90e09 (patch)
tree992589f9adf83ef7bd77858dc40e13d804110586 /lib/libc/sys
parent20bc66f592dedffa16fa9609e5be86509a0f00e7 (diff)
A little nroff clean up, since I was here to deal with PR 9727,
but someone beat me to it, and didn't log that...
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/connect.219
1 files changed, 9 insertions, 10 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2
index 16ed17bb2e4..1bacfea6dd4 100644
--- a/lib/libc/sys/connect.2
+++ b/lib/libc/sys/connect.2
@@ -1,4 +1,4 @@
-.\" $NetBSD: connect.2,v 1.15 1999/12/02 21:42:36 kleink Exp $
+.\" $NetBSD: connect.2,v 1.16 2000/05/17 10:24:13 fair Exp $
.\"
.\" Copyright (c) 1983, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -108,21 +108,20 @@ The
parameter specifies an area outside
the process address space.
.It Bq Er EINPROGRESS
-The socket is non-blocking
-and the connection cannot
-be completed immediately.
+The socket is non-blocking and the connection cannot be completed immediately.
It is possible to
.Xr select 2
or
.Xr poll 2
-for completion by selecting or polling the socket for writing. The success or
-failure of the connect operation may be determined by using
+for completion by selecting or polling the socket for writing.
+The success or failure of the connect operation may be determined by using
.Xr getsockopt 2
to read the socket error status with the
.Dv SO_ERROR
option at the
.Dv SOL_SOCKET
-level. The returned socket error status is zero on success, or one of the
+level.
+The returned socket error status is zero on success, or one of the
error codes listed here on failure.
.It Bq Er EALREADY
The socket is non-blocking
@@ -133,16 +132,16 @@ has not yet been completed.
The following errors are specific to connecting names in the
.Ux
domain.
-These errors may not apply in future versions of the
+These errors may not apply in future versions of the
.Ux
IPC domain.
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
.It Bq Er ENAMETOOLONG
-A component of a pathname exceeded
+A component of a pathname exceeded
.Dv {NAME_MAX}
-characters, or an entire path name exceeded
+characters, or an entire path name exceeded
.Dv {PATH_MAX}
characters.
.It Bq Er ENOENT