Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 1995 21:10:27 -0400
From:      Robert Withrow <witr@rwwa.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/731: socketpair(2) and man page inconsistent
Message-ID:  <199509220110.VAA08921@spooky.rwwa.com>
Resent-Message-ID: <199509220120.SAA07817@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         731
>Category:       docs
>Synopsis:       socketpair(2) and man page inconsistent about return value
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 21 18:20:01 PDT 1995
>Last-Modified:
>Originator:     Robert Withrow
>Organization:
  Robert Withrow, Tel: +1 617 598 4480, Fax: +1 617 598 4430 Net: witr@rwwa.COM
  R.W. Withrow Associates, 319 Lynnway Suite 201, Lynn MA 01901 USA
>Release:        FreeBSD 2.0-BUILT-19950603 i386
>Environment:
	Software development.
>Description:
	socketpair(2) is documented as returning 0 on success, but
	infact returns nonzero.

>How-To-Repeat:
	fprintf(stderr,"Socetpair returns %d\n",socketpair(AF_UNIX, SOCK_DGRAM, 0, fds));

>Fix:
	Fix the doc, I assume.
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509220110.VAA08921>