diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-11 16:19:36 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-11 16:19:36 +0000 |
commit | 9ec6602c9d3c1a8801d996aa3a56c779ce1c5f70 (patch) | |
tree | 5e545ff43b1e5890f0931c244a8b410eb036eb6c /src/libstddjb/int64_scan.c | |
parent | 846cd5b2b12947753f5fd3f02c49f7d828fb763d (diff) | |
download | skalibs-9ec6602c9d3c1a8801d996aa3a56c779ce1c5f70.tar.xz |
bits-fmtscan refactor, part one
Diffstat (limited to 'src/libstddjb/int64_scan.c')
-rw-r--r-- | src/libstddjb/int64_scan.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libstddjb/int64_scan.c b/src/libstddjb/int64_scan.c index 934e84c..2631c0c 100644 --- a/src/libstddjb/int64_scan.c +++ b/src/libstddjb/int64_scan.c @@ -1,6 +1,9 @@ /* ISC license. */ -#include "fmtscan-internal.h" #include <skalibs/uint64.h> +#include "fmtscan-internal.h" -SCANS(64) +size_t int64_scan_base (char const *s, int64_t *d, uint8_t base) +{ + return int64_scan_base_max(s, d, base, INT64_MAX) ; +} |