diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
| commit | 2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch) | |
| tree | cb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/getpid.2 | |
| parent | a1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys/getpid.2')
| -rw-r--r-- | lib/libc/sys/getpid.2 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2 index 4c9889c1930d..20e33192ac63 100644 --- a/lib/libc/sys/getpid.2 +++ b/lib/libc/sys/getpid.2 @@ -49,7 +49,9 @@ .Ft pid_t .Fn getppid void .Sh DESCRIPTION -.Fn Getpid +The +.Fn getpid +system call returns the process ID of the calling process. @@ -60,7 +62,9 @@ security reasons; see .Xr mkstemp 3 instead. .Pp -.Fn Getppid +The +.Fn getppid +system call returns the process ID of the parent of the calling process. .Sh ERRORS @@ -68,7 +72,7 @@ The .Fn getpid and .Fn getppid -functions are always successful, and no return value is reserved to +system calls are always successful, and no return value is reserved to indicate an error. .Sh SEE ALSO .Xr gethostid 3 @@ -77,10 +81,10 @@ The .Fn getpid and .Fn getppid -function calls are expected to conform to +system calls are expected to conform to .St -p1003.1-90 . .Sh HISTORY -A +The .Fn getpid -function call appeared in +function appeared in .At v7 . |
