CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
unix_sys_sysinfo.h
1
#pragma once
2
3
// Unix-internal declarations shared between the common Unix statistics code and the per-OS
4
// backends (linux_sys_sysinfo.c, freebsd_sys_sysinfo.c).
5
6
#include "
cx/sys/sysinfo.h
"
7
8
// True if it is safe to report statistics for this handle. Applies the same reused-pid check
9
// the rest of the Unix process backend uses, so a handle whose process has exited reports
10
// nothing rather than the numbers belonging to whatever was given its id afterwards. Sets
11
// cxerr and returns false when it is not. proc may be NULL, in which case the caller only had
12
// a process id and there is nothing to check against.
13
bool
_sysUnixProcUsable(
Process
* proc);
Process
Definition
processobj.h:37
sysinfo.h
Processor, memory and I/O statistics for the machine and for individual processes.
cx
platform
unix
unix_sys_sysinfo.h
Generated by
1.9.8