random_r: new module
authorJim Meyering <meyering@redhat.com>
Wed, 22 Oct 2008 09:19:27 +0000 (11:19 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 23 Oct 2008 14:38:01 +0000 (16:38 +0200)
commit26af642c3723839ffecc86139959434d4957e94e
tree0e4bdc37bb9a91a3234da6e11746d0a56e835458
parentd62671f288e52669bb9de34f4ad4e5e694ab9bd3
random_r: new module

* modules/random_r: New file.
* m4/random_r.m4: New file.
* lib/random_r.c: New file, from glibc.
* modules/random_r-tests: New file.
* tests/test-random_r.c: New file.
* lib/stdlib.in.h (srandom_r, initstate_r, setstate_r, random_r): Declare.
(RAND_MAX): Define.
* m4/stdlib_h.m4: Define and AC_SUBST GNULIB_RANDOM_R and HAVE_RANDOM_R.
* modules/stdlib: Substitute them, too.
* MODULES.html.sh (Extra functions based on POSIX:2001) [Misc]: Add it.
* doc/glibc-functions/initstate_r.texi: Mention the new module.
* doc/glibc-functions/random_r.texi: Likewise.
* doc/glibc-functions/setstate_r.texi: Likewise.
* doc/glibc-functions/srandom_r.texi: Likewise.
* config/srclist.txt: Mention it.
15 files changed:
ChangeLog
MODULES.html.sh
config/srclist.txt
doc/glibc-functions/initstate_r.texi
doc/glibc-functions/random_r.texi
doc/glibc-functions/setstate_r.texi
doc/glibc-functions/srandom_r.texi
lib/random_r.c [new file with mode: 0644]
lib/stdlib.in.h
m4/random_r.m4 [new file with mode: 0644]
m4/stdlib_h.m4
modules/random_r [new file with mode: 0644]
modules/random_r-tests [new file with mode: 0644]
modules/stdlib
tests/test-random_r.c [new file with mode: 0644]