summaryrefslogtreecommitdiff
path: root/lib/libc/sys/connect.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/connect.2')
-rw-r--r--lib/libc/sys/connect.215
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/libc/sys/connect.2 b/lib/libc/sys/connect.2
index 3780b362205..56c240a8b12 100644
--- a/lib/libc/sys/connect.2
+++ b/lib/libc/sys/connect.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: connect.2,v 1.17 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: connect.2,v 1.18 2004/04/15 17:16:33 millert Exp $
.\" $NetBSD: connect.2,v 1.8 1995/10/12 15:40:48 jtc Exp $
.\"
.\" Copyright (c) 1983, 1993
@@ -150,6 +150,19 @@ Search permission is denied for a component of the path prefix.
Write access to the named socket is denied.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
+.It Bq Er EPROTOTYPE
+The file described by
+.Fa name
+is of a different type than
+.Fa s .
+E.g.,
+.Fa s
+may be of type
+.Dv SOCK_STREAM
+whereas
+.Fa name
+may refer to a socket of type
+.Dv SOCK_DGRAM .
.El
.Sh SEE ALSO
.Xr accept 2 ,