docs/162719: [PATCH] add setsockopt to history section of getsockopt.2

Niclas Zeising niclas.zeising at gmail.com
Mon Nov 21 13:40:10 UTC 2011


>Number:         162719
>Category:       docs
>Synopsis:       [PATCH] add setsockopt to history section of getsockopt.2
>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:   Mon Nov 21 13:40:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Niclas Zeising
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD tifa.daemonic.se 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r227447: Fri Nov 11 12:08:39 CET 2011 root at tifa.daemonic.se:/usr/obj/usr/src/sys/TIFA amd64


	
>Description:
	the getsockopt.2 manual page covers both getsockopt() and setsockopt() but only getsockopt() is mentioned in the history section.
	# As a side note, this manual should probably have a STANDARDS section as well, but I can not determine if our implementation confirms to POSIX.
>How-To-Repeat:
	
>Fix:

	Attached patch adds setsockopt() to the history. I assume that they were added as a pair at the same time.

--- getsockopt.2.diff begins here ---
Index: head/lib/libc/sys/getsockopt.2
===================================================================
--- head/lib/libc/sys/getsockopt.2	(revision 227787)
+++ head/lib/libc/sys/getsockopt.2	(working copy)
@@ -533,7 +533,9 @@
 .Sh HISTORY
 The
 .Fn getsockopt
-system call appeared in
+and
+.Fn setsockopt
+system calls appeared in
 .Bx 4.2 .
 .Sh BUGS
 Several of the socket options should be handled at lower levels of the system.
--- getsockopt.2.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list