BSD 4_3_Reno release
[unix-history] / usr / src / lib / libc / sys / getpid.2
index 471b01d..2110569 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)getpid.2    5.1 (Berkeley) %G%
+.\"    @(#)getpid.2    6.3 (Berkeley) 5/13/86
 .\"
 .\"
-.TH GETPID 2 "12 February 1983"
+.TH GETPID 2 "May 13, 1986"
 .UC 4
 .SH NAME
 getpid, getppid \- get process identification
 .UC 4
 .SH NAME
 getpid, getppid \- get process identification
@@ -12,10 +12,10 @@ getpid, getppid \- get process identification
 .ft B
 .nf
 pid = getpid()
 .ft B
 .nf
 pid = getpid()
-long pid;
+int pid;
 .sp
 ppid = getppid()
 .sp
 ppid = getppid()
-long ppid;
+int ppid;
 .fi
 .ft R
 .SH DESCRIPTION
 .fi
 .ft R
 .SH DESCRIPTION
@@ -23,8 +23,7 @@ long ppid;
 returns
 the process ID of
 the current process.
 returns
 the process ID of
 the current process.
-Most often it is used with the host identifier
-.IR gethostid (2)
+Most often it is used
 to generate uniquely-named temporary files.
 .PP
 .I Getppid
 to generate uniquely-named temporary files.
 .PP
 .I Getppid