home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
gnu
/
ixemul-39.47-env-bin.lha
/
man
/
cat2
/
getpid.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
1KB
|
67 lines
GETPID(2) UNIX Programmer's Manual GETPID(2)
NNAAMMEE
ggeettppiidd, ggeettppppiidd - get parent or calling process identification
SSYYNNOOPPSSIISS
##iinncclluuddee <<uunniissttdd..hh>>
_p_i_d___t
ggeettppiidd(_v_o_i_d)
_p_i_d___t
ggeettppppiidd(_v_o_i_d)
DDEESSCCRRIIPPTTIIOONN
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.
SSEEEE AALLSSOO
gethostid(2)
SSTTAANNDDAARRDDSS
GGeettppiidd() and ggeettppppiidd() conform to IEEE Std 1003.11988 (``POSIX'').
4th Berkeley Distribution March 10, 1991 1