getpid(2) Astia manual index DESCRIPTIONreturn the calling process ID.SYNOPSISlong getpid(void);RETURN VALUEThe calling process ID.