Date: Sun, 10 Jan 2010 20:00:14 GMT From: Bruce Cran <bruce@cran.org.uk> To: freebsd-doc@FreeBSD.org Subject: Re: docs/142576: [patch] fix typos and missing params in the sctp man pages Message-ID: <201001102000.o0AK0EOp076574@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/142576; it has been noted by GNATS. From: Bruce Cran <bruce@cran.org.uk> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001102000.o0AK0EOp076574>