From cperon@staff.seccuris.com  Wed Sep 10 11:20:32 2003
Return-Path: <cperon@staff.seccuris.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 33A9816A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Sep 2003 11:20:32 -0700 (PDT)
Received: from staff.seccuris.com (staff.seccuris.com [204.112.0.40])
	by mx1.FreeBSD.org (Postfix) with SMTP id 3F62243FBF
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 10 Sep 2003 11:20:31 -0700 (PDT)
	(envelope-from cperon@staff.seccuris.com)
Received: (qmail 83978 invoked by uid 1006); 10 Sep 2003 18:20:29 -0000
Message-Id: <20030910182029.83977.qmail@staff.seccuris.com>
Date: 10 Sep 2003 18:20:29 -0000
From: Chris S.J.Peron <maneo@bsdpro.com>
Reply-To: Chris S.J.Peron <maneo@bsdpro.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] EPIPE is not documented in the send(2) man page.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56683
>Category:       docs
>Synopsis:       [patch] EPIPE is not documented in the send(2) man page.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 10 11:30:12 PDT 2003
>Closed-Date:    Wed Sep 10 12:20:56 PDT 2003
>Last-Modified:  Wed Sep 10 12:20:56 PDT 2003
>Originator:     Chris S.J. Peron
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
System: FreeBSD movl 5.1-CURRENT FreeBSD 5.1-CURRENT #14: Mon Aug 25 17:22:40 CDT 2003     modulus@movl:/usr/src/sys/i386/compile/RAID0  i386 

	
>Description:

EPIPE occurs when SS_CANTSENDMORE is set on the socket.
This is not documented in the man page.
(typically when a socket is not connected)

	
>How-To-Repeat:
N/A
	
>Fix:

--- lib/libc/sys/send.2	Thu Dec 19 03:40:25 2002
+++ lib/libc/sys/send.2.modified	Wed Sep 10 12:53:04 2003
@@ -189,6 +189,10 @@
 The remote host was down.
 .It Bq Er ENETDOWN
 The remote network was down.
+.It Bq Er EPIPE
+The socket is unable to send anymore data (SS_CANTSENDMORE has
+been set on the socket). This typically means that the socket
+is not connected. 
 .El
 .Sh BUGS
 Because
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: roberto 
State-Changed-When: Wed Sep 10 12:20:22 PDT 2003 
State-Changed-Why:  
Patch committedi in revision 1.22, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56683 
>Unformatted:
