diff options
| author | deraadt <> | 2014-06-12 20:40:57 +0000 |
|---|---|---|
| committer | deraadt <> | 2014-06-12 20:40:57 +0000 |
| commit | dac2c733ce5f78df6dd87c14ec9b6c2921cf4800 (patch) | |
| tree | 44a491147b347caf1b2dd774e13e12db3c08944e /src/lib/libc/stdlib/random.c | |
| parent | 59f4f2c61d71e266d37dd2fc97615b3fd35b4721 (diff) | |
| download | openbsd-dac2c733ce5f78df6dd87c14ec9b6c2921cf4800.tar.gz openbsd-dac2c733ce5f78df6dd87c14ec9b6c2921cf4800.tar.bz2 openbsd-dac2c733ce5f78df6dd87c14ec9b6c2921cf4800.zip | |
replace atoi() calls with strtol(). Follow the idiomatic pattern in our
manual page strictly. Return -2 if the strings are not strict numbers.
The numbers remain in the range of "int". Range checking for these parameters
is done later in the pkey_*_ctl() functions, or sometimes in functions much
further downstream... but not always!!!
ok millert miod mikeb
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
