| Main index | Section 3 | Options |
#include <sys/types.h>
#include <sys/user.h>
#include <libutil.h>
The pid field contains the process identifier. This should be a process that you have privilege to access. This function is a wrapper around sysctl(3) with the KERN_PROC_PID mib. While the kernel returns a packed structure, this function expands the data into a fixed record format.
| KINFO_GETPROC (3) | May 10, 2020 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | C isn't that hard: void (*(*f[])())() defines f as an array of unspecified size, of pointers to functions that return pointers to functions that return void | ” |