Bug 110012

Summary: MONCONTROL(3) function signatures do not agree with sys/gmon.h
Product: Documentation Reporter: David Sanderson <dws>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description David Sanderson 2007-03-06 21:50:11 UTC
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
Comment 1 dfilter service freebsd_committer freebsd_triage 2007-03-16 21:35:19 UTC
maxim       2007-03-16 21:35:13 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    lib/libc/gmon        moncontrol.3 
  Log:
  MFC rev. 1.16: fix prototypes.
  
  PR:             docs/110012
  
  Revision  Changes    Path
  1.15.8.1  +3 -3      src/lib/libc/gmon/moncontrol.3
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Maxim Konovalov freebsd_committer freebsd_triage 2007-03-16 21:35:28 UTC
State Changed
From-To: open->closed

Fix from HEAD merged.  Thanks for the report!