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.
“ | … one of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. | ” |
— Robert Firth |