Friday, September 09, 2022

Re: whither struct __kvm?

>The first declaration in <kvm.h> is:
>
> typedef struct __kvm kvm_t;
>
>and yet 'grep -r __kvm /usr/include /sys' returns only the above
>line. What am I missing?

Uhm

./bin/ps/nlist.c:extern kvm_t *kd;
./bin/ps/print.c:extern kvm_t *kd;
./bin/ps/ps.c:kvm_t *kd;
etc etc etc etc

It is the published API.

No comments:

Post a Comment