view modules/random_r @ 40181:4edc083b6693

Add script for running tests under valgrind. * build-aux/run-test: New file, from GNU libunistring. * doc/valgrind-tests.texi: Rewritten to mention alternative approaches as well.
author Bruno Haible <bruno@clisp.org>
date Mon, 04 Feb 2019 22:35:38 +0100
parents f36b4b374e7c
children
line wrap: on
line source

Description:
reentrant random number generator

Files:
lib/random_r.c
m4/random_r.m4

Depends-on:
libc-config     [test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1]
stdlib
stdint          [test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1]

configure.ac:
gl_FUNC_RANDOM_R
if test $HAVE_RANDOM_R = 0 || test $REPLACE_RANDOM_R = 1; then
  AC_LIBOBJ([random_r])
  gl_PREREQ_RANDOM_R
fi
gl_STDLIB_MODULE_INDICATOR([random_r])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc