summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2012-06-02 00:14:17 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2012-06-02 00:14:17 +0000
commit19e779357f7cd0f326d00b06db357a45e80d8698 (patch)
treef214edc198de5d8e2f70285ff19281cd580d5a5e /lib/libc/stdlib
parent9b77a6ec7e09d4e464e549fa3b82c2349c2f69b6 (diff)
Update STANDARDS section for a few <stdlib.h> functions
Update SYNOPSIS for setkey() to show it's in <stdlib.h> ok jmc@, millert@
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/getenv.311
-rw-r--r--lib/libc/stdlib/rand.39
-rw-r--r--lib/libc/stdlib/rand48.318
3 files changed, 29 insertions, 9 deletions
diff --git a/lib/libc/stdlib/getenv.3 b/lib/libc/stdlib/getenv.3
index 9da27ec11cf..8c2b633f257 100644
--- a/lib/libc/stdlib/getenv.3
+++ b/lib/libc/stdlib/getenv.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: getenv.3,v 1.16 2011/04/27 13:40:15 otto Exp $
+.\" $OpenBSD: getenv.3,v 1.17 2012/06/02 00:14:16 guenther Exp $
.\"
-.Dd $Mdocdate: April 27 2011 $
+.Dd $Mdocdate: June 2 2012 $
.Dt GETENV 3
.Os
.Sh NAME
@@ -161,6 +161,13 @@ The
.Fn getenv
function conforms to
.St -ansiC .
+The
+.Fn putenv ,
+.Fn setenv ,
+and
+.Fn unsetenv
+functions conform to
+.St -p1003.1-2008 .
.Sh HISTORY
The function
.Fn getenv
diff --git a/lib/libc/stdlib/rand.3 b/lib/libc/stdlib/rand.3
index df4feaacdb8..50fe67d1095 100644
--- a/lib/libc/stdlib/rand.3
+++ b/lib/libc/stdlib/rand.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: rand.3,v 1.10 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: rand.3,v 1.11 2012/06/02 00:14:16 guenther Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 2 2012 $
.Dt RAND 3
.Os
.Sh NAME
@@ -93,6 +93,5 @@ functions conform to
.Pp
The
.Fn rand_r
-function conforms to ISO/IEC 9945-1 ANSI/IEEE
-.Pq Dq Tn POSIX
-Std 1003.1c Draft 10.
+function conforms to
+.St -p1003.1-2008 .
diff --git a/lib/libc/stdlib/rand48.3 b/lib/libc/stdlib/rand48.3
index 0e8ca5389b6..340e6461bd9 100644
--- a/lib/libc/stdlib/rand48.3
+++ b/lib/libc/stdlib/rand48.3
@@ -9,9 +9,9 @@
.\" of any kind. I shall in no event be liable for anything that happens
.\" to anyone/anything when using this software.
.\"
-.\" $OpenBSD: rand48.3,v 1.11 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: rand48.3,v 1.12 2012/06/02 00:14:16 guenther Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 2 2012 $
.Dt RAND48 3
.Os
.Sh NAME
@@ -161,5 +161,19 @@ For a more powerful random number generator, see
.Xr arc4random 3 ,
.Xr rand 3 ,
.Xr random 3
+.Sh STANDARDS
+The
+.Fn drand48 ,
+.Fn erand48 ,
+.Fn jrand48 ,
+.Fn lcong48 ,
+.Fn lrand48 ,
+.Fn mrand48 ,
+.Fn nrand48 ,
+.Fn seed48 ,
+and
+.Fn srand48
+functions conform to
+.St -p1003.1-2008 .
.Sh AUTHORS
Martin Birgmeier