Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/lib/libc/stdlib Pullup 1.10 [itojun]:



details:   https://anonhg.NetBSD.org/src/rev/14fea0140f02
branches:  netbsd-1-5
changeset: 489762:14fea0140f02
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Oct 17 01:14:49 2000 +0000

description:
Pullup 1.10 [itojun]:
make random(3) manpage meet with actual implementation.
argument to srandom() and initstate() were changed in
lib/libc/stdlib/random.c 1.28 -> 1.29, and manpage was left behind.

diffstat:

 lib/libc/stdlib/random.3 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 6a948232ff5e -r 14fea0140f02 lib/libc/stdlib/random.3
--- a/lib/libc/stdlib/random.3  Tue Oct 17 01:06:48 2000 +0000
+++ b/lib/libc/stdlib/random.3  Tue Oct 17 01:14:49 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: random.3,v 1.9 1999/03/22 19:44:58 garbled Exp $
+.\"    $NetBSD: random.3,v 1.9.10.1 2000/10/17 01:14:49 tv Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -49,9 +49,9 @@
 .Ft long
 .Fn random void
 .Ft void
-.Fn srandom "unsigned seed"
+.Fn srandom "unsigned long seed"
 .Ft char *
-.Fn initstate "unsigned seed" "char *state" "size_t n"
+.Fn initstate "unsigned long seed" "char *state" "size_t n"
 .Ft char *
 .Fn setstate "char *state"
 .Sh DESCRIPTION



Home | Main Index | Thread Index | Old Index