diff options
author | Dustin Sallings <dustin@spy.net> | 2009-03-18 19:36:52 -0700 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-03-19 01:52:54 -0700 |
commit | 63ba0e14d0aed8d2d82c10d0b4706f204927da0c (patch) | |
tree | d33cff43be95863ffaeb15f3dc88326db3678033 /util.h | |
parent | a977b5563ab73b764c5b257d6ed1f182b5cd92ca (diff) | |
download | memcached-63ba0e14d0aed8d2d82c10d0b4706f204927da0c.tar.gz |
Added safe_strtou?l functions.
Some of the tests for this were written but commented out because they
fail on some platforms.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,3 +9,5 @@ */ bool safe_strtoull(const char *str, uint64_t *out); bool safe_strtoll(const char *str, int64_t *out); +bool safe_strtoul(const char *str, uint32_t *out); +bool safe_strtol(const char *str, int32_t *out); |