Penguin

Differences between current version and revision by previous author of getpid(2).

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 3 Last edited on Tuesday, December 31, 2002 1:37:12 am by PerryLorier
Older page: version 1 Last edited on Tuesday, June 4, 2002 12:23:41 am by perry Revert
@@ -1,42 +1,16 @@
-GETPID  
-!!!GETPID  
-NAME  
-SYNOPSIS  
-DESCRIPTION  
-CONFORMING TO  
-SEE ALSO  
-----  
 !!NAME 
-  
-  
- getpid, getppid - get process identification 
+getpid - get process identification 
 !!SYNOPSIS 
+ __#include <sys/types.h>__  
+ __#include <unistd.h>__  
  
  
-__#include __  
-#include __  
-  
-  
- __pid_t getpid(void);  
-pid_t getppid (void);__ 
+ __pid_t getpid(void);__ 
 !!DESCRIPTION 
+getpid(2) returns the process ID of the current process. (This is often used by routines that generate unique temporary file names.)  
  
-  
-__getpid__ returns the process ID of the current process.  
-(This is often used by routines that generate unique  
-temporary file names.)  
-  
-  
-__getppid__ returns the process ID of the parent of the  
-current process.  
 !!CONFORMING TO 
+[POSIX], BSD 4.3, SVID  
  
-  
-POSIX, BSD 4.3, SVID  
 !!SEE ALSO 
-  
-  
- exec(3), fork(2), kill(2),  
- mkstemp(3), tmpnam(3), tempnam(3),  
- tmpfile(3)  
-----  
+exec(3), fork(2), kill(2), mkstemp(3), tmpnam(3), tempnam(3), tmpfile(3) 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.