From owner-freebsd-doc@FreeBSD.ORG Sun Jan 10 20:00:15 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00C71106566B for ; Sun, 10 Jan 2010 20:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CCCF88FC0C for ; Sun, 10 Jan 2010 20:00:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0AK0Er0076575 for ; Sun, 10 Jan 2010 20:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0AK0EOp076574; Sun, 10 Jan 2010 20:00:14 GMT (envelope-from gnats) Date: Sun, 10 Jan 2010 20:00:14 GMT Message-Id: <201001102000.o0AK0EOp076574@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Bruce Cran Cc: Subject: Re: docs/142576: [patch] fix typos and missing params in the sctp man pages X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Cran List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 20:00:15 -0000 The following reply was made to PR docs/142576; it has been noted by GNATS. From: Bruce Cran To: bug-followup@FreeBSD.org, bruce@cran.org.uk Cc: Subject: Re: docs/142576: [patch] fix typos and missing params in the sctp man pages Date: Sun, 10 Jan 2010 19:56:57 +0000 --MP_/PG.BK4Fu4y6MNURPRLK0usW Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline There are also errors in sctp_peeloff(2), sctp_generic_sendmsg(2) and sctp_generic_recvmsg(2). The attached patch fixes those errors. -- Bruce Cran --MP_/PG.BK4Fu4y6MNURPRLK0usW Content-Type: text/diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=sctp_man.diff.txt --- /usr/src/lib/libc/sys/sctp_peeloff.2 2009-08-03 09:13:06.000000000 +0100 +++ sctp_peeloff.2 2010-01-10 19:43:42.000000000 +0000 @@ -36,7 +36,7 @@ .Os .Sh NAME .Nm sctp_peeloff -.Nd detach an association from a one-to-many socket to its on fd +.Nd detach an association from a one-to-many socket to its own fd .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -58,7 +58,7 @@ .Sh ERRORS The .Fn sctp_peeloff -can return the following errors. +system call can return the following errors: .Bl -tag -width Er .It Bq Er ENOTCONN The --- /usr/src/lib/libc/sys/sctp_generic_sendmsg.2 2009-08-03 09:13:06.000000000 +0100 +++ sctp_generic_sendmsg.2 2010-01-10 19:47:20.000000000 +0000 @@ -49,7 +49,6 @@ .Ft int .Fn sctp_generic_sendmsg_iov "int s" "struct iovec *iov" "int iovlen" "struct sockaddr *to" "struct sctp_sndrcvinfo *sinfo" "int flags" .Sh DESCRIPTION -The .Fn sctp_generic_sendmsg and .Fn sctp_generic_sendmsg_iov --- /usr/src/lib/libc/sys/sctp_generic_recvmsg.2 2009-08-03 09:13:06.000000000 +0100 +++ sctp_generic_recvmsg.2 2010-01-10 19:48:50.000000000 +0000 @@ -46,14 +46,13 @@ .Ft int .Fn sctp_generic_recvmsg "int s" "struct iovec *iov" "int iovlen" "struct sockaddr *from" "socklen_t *fromlen" "struct sctp_sndrcvinfo *sinfo" "int *msgflags" .Sh DESCRIPTION -The .Fn sctp_generic_recvmsg -is the true system calls used by the +is the true system call used by the .Fn sctp_recvmsg function call. This call is more efficient since it is a -true system calls but it is specific to FreeBSD and +true system call but it is specific to FreeBSD and can be expected NOT to be present on any other Operating -System. For detailed useage please see either the +System. For detailed usage please see the .Fn sctp_recvmsg function call. .Sh RETURN VALUES --MP_/PG.BK4Fu4y6MNURPRLK0usW--