1 PPSINFO(3PROC) Process Control Library Functions PPSINFO(3PROC) 2 3 NAME 4 Ppsinfo - get process ps information 5 6 LIBRARY 7 Process Control Library (libproc, -lproc) 8 9 SYNOPSIS 10 #include <libproc.h> 11 12 const psinfo_t * 13 Ppsinfo(struct ps_prochandle *P); 14 15 DESCRIPTION 16 The Ppsinfo() function returns the process handle P's ps(1) information. 17 The psinfo_t structure that is returned is defined in proc(4) and is 18 valid until a subsequent call to Prelease(3PROC). 19 20 RETURN VALUES 21 Upon successful completion, the Ppsinfo() function returns a pointer to 22 the process ps information. Otherwise, NULL is returned to indicate that 23 it could not be found. 24 25 INTERFACE STABILITY 26 Uncommitted 27 28 MT-LEVEL 29 See LOCKING in libproc(3LIB). 30 31 SEE ALSO 32 ps(1), libproc(3LIB), Prelease(3PROC), proc(4) 33 34 illumos May 11, 2016 illumos