NAME
ggeettppiidd, ggeettppppiidd - get parent or calling process identification
SYNOPSIS
##iinncclluuddee <
pidt ggeettppiidd(void); pidt ggeettppppiidd(void);> DESCRIPTION
GGeettppiidd() returns the process ID of the calling process. The ID is guar-
anteed to be unique and is useful for constructing temporary file names. GGeettppppiidd() returns the process ID of the parent of the calling process. EERRRROORRSS The ggeettppiidd() and ggeettppppiidd() functions are always successful, and no return value is reserved to indicate an error.LEGACY SYNOPSIS
##iinncclluuddee <
> ##iinncclluuddee <
The include file> is necessary. SEE ALSO
gethostid(2), compat(5) STANDARDSGGeettppiidd() and ggeettppppiidd() conform to IEEE Std 1003.1-1988 (``POSIX.1'').
4th Berkeley Distribution June 4, 1993 4th Berkeley Distribution