Subject: Re: kinfo header files
To: None <bryan@bwyan.anu.edu.au>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: current-users
Date: 10/04/1994 19:51:07
> I notice that the man page for various kvm routines mention header files:
> 
> NAME
>      kvm_getprocs, kvm_getargv, kvm_getenvv - access user process state
> 
> SYNOPSIS
>      #include <kvm.h>
>      #include <sys/kinfo.h>
>      #include <sys/kinfo_proc.h>
> 
> but the kinfo* files don't exist. (i386 port)

The kinfo_proc structure and the EPROC_* #defines from <sys/kinfo_proc.h>
have moved to <sys/sysctl.h>.
 
Some of the KINFO_PROC_* names (from <sys/kinfo.h> ) are now KERN_PROC_* and
are also in <sys/sysctl.h>.  I don't know offhand what happened to #defines
like KINFO_FILE, KINFO_LOADAVG and KINFO_VNODE.

Hope this helps,

	- Greg