Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 18:25:23 +0900 (JST)
From:      yuko@veltec.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/25797: socket.2 man file is strange, with a draft amendment.
Message-ID:  <200103140925.f2E9PNR07430@basil.veltec.co.jp>

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

>Number:         25797
>Category:       docs
>Synopsis:       socket.2 man file is strange, with a draft amendment.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 14 01:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Yuko Sasaki
>Release:        FreeBSD 4.2-20010112-STABLE
>Organization:
FreeBSD Japanese Manual Translation Project
>Environment:

	4.2-RELEASE, with man distribution

>Description:

	socket.2 is 
	SOCK_RDM        Sequenced packet stream,
	SOCK_SEQPACKET  Reliably-delivered packet

	src/sys/sys/socket.h is
	(* $FreeBSD: src/sys/sys/socket.h,v 1.49 2001/02/17 03:49:24 bde Exp $)
	#define SOCK_RDM        4               /* reliably-delivered message */	#define SOCK_SEQPACKET  5               /* sequenced packet stream */
	It is reverse.
	Doesn't it correct by patch?

>How-To-Repeat:

	Do "man 2 socket.2".

>Fix:
	
% diff -u /usr/share/man/man2 socket.2
--- /usr/share/man/man2/socket.2        Tue Jan 16 02:33:25 2001
+++ socket.2    Wed Mar 14 18:19:28 2001
@@ -103,8 +103,8 @@
 SOCK_STREAM    Stream socket,
 SOCK_DGRAM     Datagram socket,
 SOCK_RAW       Raw-protocol interface,
-SOCK_RDM       Sequenced packet stream,
-SOCK_SEQPACKET Reliably-delivered packet
+SOCK_RDM       Reliably-delivered packet
+SOCK_SEQPACKET Sequenced packet stream,
 .Ed
 .Pp
 A
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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