summaryrefslogtreecommitdiff
path: root/src/user/lib/include/string.h
blob: 5cddb61e9332943d20273080d4fba903c15b749e (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include <shared/mem.h>

long strtol(const char *restrict s, char **restrict end, int base);
char *strchr(const char *s, int c);

size_t strspn(const char *s, const char *accept);
size_t strcspn(const char *s, const char *reject);

char *strtok(char *restrict s, const char *restrict sep);
char *strtok_r(char *restrict s, const char *restrict sep, char **restrict state);