|PUNAME(3PROC)||Process Control Library Functions||PUNAME(3PROC)|
Puname — get uname
information from a process
Process Control Library (libproc, -lproc)
Puname(struct ps_prochandle *P,
struct utsname *u);
function copies the operating system information from the process handle
P into u.
For an active process or zombie process, this is the same information obtained from uname(2). For core files, if available, it is the system information at the time the core was dumped.
Handles that correspond to ELF objects do not contain uname information.
Puname() function will fail if:
|May 11, 2016||OmniOS|