diff options
author | Brad Fitzpatrick <brad@danga.com> | 2008-10-14 22:51:46 -0700 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-03-19 01:52:53 -0700 |
commit | 674166c002fe2e32f0385d12351091d738150a12 (patch) | |
tree | 11d85df4a9c52b18b35f98a2f12a3c619f06d03e /util.h | |
parent | 420aa2d992093b78c1bba6cbb3577d5b53a19ec8 (diff) | |
download | memcached-674166c002fe2e32f0385d12351091d738150a12.tar.gz |
flesh out safe_strto* util funcs, and make incrdecr use them
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -5,4 +5,6 @@ * returns true if conversion succeeded. */ bool safe_strtoull(const char *str, unsigned long long *out); +bool safe_strtoll(const char *str, long long *out); + |