view modules/random @ 40244:c39a0edd90d7

fts: minor simplification * lib/fts.c (fts_safe_changedir): Remove redundant assignment.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 17 Mar 2019 12:39:50 -0700
parents cfcc57a4ed05
children
line wrap: on
line source

Description:
global random number generator

Files:
lib/random.c
m4/random.m4

Depends-on:
libc-config     [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
stdlib
stdint          [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]
random_r        [test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1]

configure.ac:
gl_FUNC_RANDOM
if test $HAVE_RANDOM = 0 || test $REPLACE_RANDOM = 1 || test $REPLACE_INITSTATE = 1 || test $REPLACE_SETSTATE = 1; then
  AC_LIBOBJ([random])
  gl_PREREQ_RANDOM
fi
gl_STDLIB_MODULE_INDICATOR([random])

Makefile.am:

Include:
<stdlib.h>

License:
LGPL

Maintainer:
glibc