Subject: kern/6216: Omission in send.2
To: None <gnats-bugs@gnats.netbsd.org>
From: Heiko W.Rupp <hwr@pilhuhn.de>
List: netbsd-bugs
Date: 09/30/1998 08:12:36
>Number:         6216
>Category:       kern
>Synopsis:       Omission in send.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 29 23:20:01 1998
>Last-Modified:
>Originator:     Heiko W.Rupp
>Organization:
>Release:        NetBSD-current
>Environment:
	
System: NetBSD quaak 1.3H NetBSD 1.3H (QUAAK) #42: Tue Sep 29 20:35:54 MEST 1998 hwr@snert:/export/quaak/src/sys/arch/i386/compile/QUAAK i386


>Description:
	sendto can also return EAFNOSUPPORT, but manpage does not tell.
>How-To-Repeat:
	man sendto.
>Fix:
snert# diff -c send.2 /tmp/send.2
*** send.2      Sat Aug 29 10:32:41 1998
--- /tmp/send.2 Wed Sep 30 08:11:31 1998
***************
*** 158,163 ****
--- 158,165 ----
  .It Bq Er EINVAL
  The total length of the I/O is more than can be expressed by the ssize_t
  return value.
+ .It Bq Er EAFNOSUPPORT
+ Addresses in the specified address family cannot be used with this socket.
  .El
  .Pp
  .Fn sendmsg

>Audit-Trail:
>Unformatted: