summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getpid.2
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-02 09:21:00 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-05-02 09:21:00 +0000
commitfdd1c9f4af676f11e841e248e23cb05fdc1e9061 (patch)
treef478c008ec5dba76aef1845dcf08fe62dac241f7 /lib/libc/sys/getpid.2
parent092020ffbc7a8c33178002131c29729124c5e39b (diff)
Document the lack of error return value in arc4random.
Sync the documentation in getpid with arc4random's format.
Diffstat (limited to 'lib/libc/sys/getpid.2')
-rw-r--r--lib/libc/sys/getpid.212
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/libc/sys/getpid.2 b/lib/libc/sys/getpid.2
index 121e32d4bbf..9820e91f716 100644
--- a/lib/libc/sys/getpid.2
+++ b/lib/libc/sys/getpid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpid.2,v 1.9 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: getpid.2,v 1.10 2007/05/02 09:20:59 pyr Exp $
.\" $NetBSD: getpid.2,v 1.5 1995/02/27 12:33:12 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -55,13 +55,9 @@ instead.
.Pp
.Fn getppid
returns the process ID of the parent of the calling process.
-.Sh ERRORS
-The
-.Fn getpid
-and
-.Fn getppid
-functions are always successful, and no return value is reserved to
-indicate an error.
+.Sh RETURN VALUES
+These functions are always successful, and no return value is
+reserved to indicate an error.
.Sh SEE ALSO
.Xr gethostid 3
.Sh STANDARDS