Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 1995 13:00:29 +0500 (GMT+0500)
From:      "Serge A. Babkin" <babkin@hq.icb.chel.su>
To:        hackers@freebsd.org
Subject:   kvm_getprocs: KINFO_... or KERN_...
Message-ID:  <199506130800.NAA00474@hq.icb.chel.su>

next in thread | raw e-mail | index | archive | help
I have found recently an inconsistence in kvm_getprocs(). Manpage says
that its arguments are KINFO_... and that required headers are 
<sys/kinfo.h> and <sys/kinfo_proc.h>. But really its arguments are named
KERN_... and header is <sys/sysctl.h>. I'm running 950210-SNAP.
This manpage is absolutely exact for BSDI and I spent some time to found
this inconsistence when compiling a program from BSDI.

So may be we need to create <sys/kinfo*> and define KINFO_* for
compatibility reasons ?

		Serge Babkin

! (babkin@hq.icb.chel.su)
! Headquarter of Joint Stock Commercial Bank "Chelindbank"
! Chelyabinsk, Russia



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506130800.NAA00474>