From 635f756fa91e22f6c4fd653e5ed2a808eb7335ae Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Mon, 9 Dec 2024 20:57:31 +0100 Subject: libc: sv add number parsing --- userland/libc/include/tb/sv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'userland/libc/include/tb') diff --git a/userland/libc/include/tb/sv.h b/userland/libc/include/tb/sv.h index e1ca453..0ffe266 100644 --- a/userland/libc/include/tb/sv.h +++ b/userland/libc/include/tb/sv.h @@ -36,4 +36,5 @@ struct sv sv_trim_left(struct sv s, size_t n); struct sv sv_clone(struct sv s); struct sv sv_clone_from_c(const char *s); char *sv_copy_to_c(struct sv s, char *out, size_t buffer_length); +uint64_t sv_parse_unsigned_number(struct sv input, struct sv *rest); #endif -- cgit v1.2.3