Manual Pages for Linux CentOS command on man erand48_r
MyWebUniversity

Manual Pages for Linux CentOS command on man erand48_r

DRAND48R(3) Linux Programmer's Manual DRAND48R(3)

NAME drand48r, erand48r, lrand48r, nrand48r, mrand48r, jrand48r,

srand48r, seed48r, lcong48r - generate uniformly distributed pseudo- random numbers reentrantly SYNOPSIS

#include int drand48r(struct drand48data *buffer, double *result); int erand48r(unsigned short xsubi[3], struct drand48data *buffer, double *result); int lrand48r(struct drand48data *buffer, long int *result); int nrand48r(unsigned short int xsubi[3], struct drand48data *buffer, long int *result); int mrand48r(struct drand48data *buffer,long int *result); int jrand48r(unsigned short int xsubi[3], struct drand48data *buffer, long int *result); int srand48r(long int seedval, struct drand48data *buffer); int seed48r(unsigned short int seed16v[3], struct drand48data *buffer); int lcong48r(unsigned short int param[7], struct drand48data *buffer); Feature Test Macro Requirements for glibc (see featuretestmacros(7)): All functions shown above: SVIDSOURCE || BSDSOURCE || XOPENSOURCE DESCRIPTION These functions are the reentrant analogs of the functions described in drand48(3). Instead of modifying the global random generator state, they use the supplied data buffer. Before the first use, this struct must be initialized, for example, by filling it with zeros, or by calling one of the functions srand48r(), seed48r(), or lcong48r(). RETURN VALUE The return value is 0. ATTRIBUTES For an explanation of the terms used in this section, see attributes(7). ┌───────────────────────────────────────┬───────────────┬─────────────────────┐ │Interface │ Attribute │ Value │ ├───────────────────────────────────────┼───────────────┼─────────────────────┤

│drand48r(), erand48r(), lrand48r(), │ Thread safety │ MT-Safe race:buffer │ │nrand48r(), mrand48r(), jrand48r(), │ │ │ │srand48r(), seed48r(), lcong48r() │ │ │ └───────────────────────────────────────┴───────────────┴─────────────────────┘ CONFORMING TO These functions are GNU extensions and are not portable. SEE ALSO drand48(3), rand(3), random(3) COLOPHON

This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can

be found at http://www.kernel.org/doc/man-pages/.

GNU 2007-07-26 DRAND48R(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™