Subject: lib/1093: The sendmsg(2) man page doesn't document EACCESS result.
To: None <gnats-admin@sun-lamp.cs.berkeley.edu>
From: Ted Lemon <mellon@fugue.com>
List: netbsd-bugs
Date: 05/31/1995 23:50:04
>Number:         1093
>Category:       lib
>Synopsis:       The sendmsg(2) man page doesn't document EACCESS result.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 31 23:50:03 1995
>Originator:     Ted Lemon
>Organization:
Ted Lemon						       mellon@fugue.com
+1 415 567 7999
>Release:        NetBSD-current April 1995
>Environment:
System: NetBSD toccata 1.0A NetBSD 1.0A (TOCCATA) #145: Wed May 24 22:44:35 PDT 1995 mellon@toccata:/sandbox/NetBSD-current/sys/arch/pmax/compile/TOCCATA pmax


>Description:
	sendto can fail with EACCESS if the SO_BROADCAST option is not
	set on the option and a broadcast address has been given.   This
	is not documented.
>How-To-Repeat:
	type ``man sendmsg''.
>Fix:
RCS file: /a/cvsroot/src/lib/libc/sys/send.2,v
retrieving revision 1.5
diff -c -2 -r1.5 send.2
*** send.2      1995/02/27 12:36:43     1.5
--- send.2      1995/06/01 06:39:21
***************
*** 149,152 ****
--- 149,155 ----
  This generally indicates that the interface has stopped sending,
  but may be caused by transient congestion.
+ .It Bq Er EACCES
+ The SO_BROADCAST option is not set on the socket, and a broadcast address
+ was given as the destination.
  .El
  .Sh SEE ALSO
>Audit-Trail:
>Unformatted: