docs/110012: MONCONTROL(3) function signatures do not agree with sys/gmon.h

David Sanderson dsanderson at panasas.com
Tue Mar 6 21:50:11 UTC 2007


>Number:         110012
>Category:       docs
>Synopsis:       MONCONTROL(3) function signatures do not agree with sys/gmon.h
>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:   Tue Mar 06 21:50:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     David Sanderson
>Release:        6.2-RELEASE
>Organization:
Panasas
>Environment:
FreeBSD perf-x4 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007     root at portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64

>Description:
On FreeBSD 6.2, the man page MONCONTROL(3) lists moncontrol() and monstartup()
as returning int, as they were in (say) FreeBSD 4.6.2.  However, in FreeBSD 6.2,
the header file /usr/include/sys/gmon.h prototypes these function as returning
void.
>How-To-Repeat:
man moncontrol
egrep 'moncontrol|monstartup' /usr/include/sys/gmon.h
>Fix:

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



More information about the freebsd-doc mailing list