From 226d861c9ebb7f09f95665d07d9ab5c6b7ed7d6f Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 3 Oct 2024 15:08:45 +0200 Subject: libc: small changes --- userland/libc/include/tb/sv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'userland/libc/include/tb/sv.h') diff --git a/userland/libc/include/tb/sv.h b/userland/libc/include/tb/sv.h index 54ec218..3d4f9fb 100644 --- a/userland/libc/include/tb/sv.h +++ b/userland/libc/include/tb/sv.h @@ -25,6 +25,7 @@ struct sv sv_skip_chars(const struct sv input, const char *chars); struct sv sv_split_function(const struct sv input, struct sv *rest, int (*function)(int)); struct sv sv_take(struct sv s, struct sv *rest, size_t n); +struct sv sv_take_end(struct sv s, struct sv *rest, size_t n); struct sv sv_next(struct sv s); int sv_isempty(struct sv s); char sv_peek(struct sv s); -- cgit v1.2.3