×
UNIX.COM Login
Username:
Password:  
Show Password






👤


BSD 2.11 - man page for getpid (bsd section 2)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
man
Select Man Page Set:
apropos Keyword Search (sections above)


GETPID(2)										GETPID(2)

NAME
       getpid, getppid - get process identification

SYNOPSIS
       pid = getpid()
       int pid;

       ppid = getppid()
       int ppid;

DESCRIPTION
       Getpid  returns	the process ID of the current process.	Most often it is used to generate
       uniquely-named temporary files.

       Getppid returns the process ID of the parent of the current process.

SEE ALSO
       gethostid(2)

4th Berkeley Distribution		   May 13, 1986 				GETPID(2)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 03:43 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.