octave: Process ID Information
36.6 Process, Group, and User IDs
=================================
-- : pgid = getpgrp ()
Return the process group id of the current process.
-- : pid = getpid ()
Return the process id of the current process.
See also: getppid XREFgetppid.
-- : pid = getppid ()
Return the process id of the parent process.
See also: getpid XREFgetpid.
-- : euid = geteuid ()
Return the effective user id of the current process.
See also: getuid XREFgetuid.
-- : uid = getuid ()
Return the real user id of the current process.
See also: geteuid XREFgeteuid.
-- : egid = getegid ()
Return the effective group id of the current process.
See also: getgid XREFgetgid.
-- : gid = getgid ()
Return the real group id of the current process.
See also: getegid XREFgetegid.