diff options
author | Ulrich Drepper <drepper@redhat.com> | 2009-11-24 20:22:44 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-11-24 20:22:44 -0800 |
commit | c53f6228f178f54d8a93569b88c1c3144c8a9d3a (patch) | |
tree | 24b465efa9c973f30cbae7fb6187516bb69e306d /stdlib/random_r.c | |
parent | aa9890239a2aef81e64f3f22a31c7e01b6501f69 (diff) | |
download | glibc-c53f6228f178f54d8a93569b88c1c3144c8a9d3a.zip glibc-c53f6228f178f54d8a93569b88c1c3144c8a9d3a.tar.gz glibc-c53f6228f178f54d8a93569b88c1c3144c8a9d3a.tar.bz2 |
Fix comments in random_r.c.
Diffstat (limited to 'stdlib/random_r.c')
-rw-r--r-- | stdlib/random_r.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/random_r.c b/stdlib/random_r.c index 90a157f..51a2e8c 100644 --- a/stdlib/random_r.c +++ b/stdlib/random_r.c @@ -228,7 +228,7 @@ weak_alias (__srandom_r, srandom_r) lose this information and will be able to restart with setstate. Note: The first thing we do is save the current state, if any, just like setstate so that it doesn't matter when initstate is called. - Returns a pointer to the old state. */ + Returns 0 on success, non-zero on failure. */ int __initstate_r (seed, arg_state, n, buf) unsigned int seed; @@ -296,7 +296,7 @@ weak_alias (__initstate_r, initstate_r) location into the zeroth word of the state information. Note that due to the order in which things are done, it is OK to call setstate with the same state as the current state - Returns a pointer to the old state information. */ + Returns 0 on success, non-zero on failure. */ int __setstate_r (arg_state, buf) char *arg_state; |