summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-02-18 02:36:34 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-02-18 02:36:34 +0000
commit159dbe3a95b521b621f3763f30fec04af0f1905a (patch)
tree51a2851546223956edb214110dff68f419248334 /lib/libc
parent7e9f45a97ba62c1c8d300e68b0661362f925add8 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/getpid.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2
index 1d94d8234fa8..1eb77410c50f 100644
--- a/lib/libc/sys/getpid.2
+++ b/lib/libc/sys/getpid.2
@@ -53,8 +53,12 @@
returns
the process ID of
the calling process.
-The ID is guaranteed to be unique and is
-useful for constructing temporary file names.
+Though the ID is guaranteed to be unique, it should
+.Em NOT
+be used for constructing temporary file names, for
+security reasons; see
+.Xr mkstemp 3
+instead.
.Pp
.Fn Getppid
returns the process ID of the parent