diff options
author | 2007-05-02 09:20:59 +0000 | |
---|---|---|
committer | 2007-05-02 09:20:59 +0000 | |
commit | 4e4865b79cecbcb79623b78ec2f30c2227d3caf5 (patch) | |
tree | 3e14278b4457d2e69c081a778d154344f492e967 /lib/libc/sys/getpid.2 | |
parent | do { } while (0) for the debug macros (diff) | |
download | wireguard-openbsd-4e4865b79cecbcb79623b78ec2f30c2227d3caf5.tar.xz wireguard-openbsd-4e4865b79cecbcb79623b78ec2f30c2227d3caf5.zip |
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.2 | 12 |
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 |