libc: Replace usize with size_t in string.h
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
apio 2023-03-12 10:43:13 +01:00
parent 12bc59ead5
commit 3b03e19489
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -48,10 +48,10 @@ extern "C"
char* strerror(int errnum); char* strerror(int errnum);
/* Return the length of the initial segment of str which consists only of bytes in accept. */ /* Return the length of the initial segment of str which consists only of bytes in accept. */
usize strspn(const char* str, const char* accept); size_t strspn(const char* str, const char* accept);
/* Return the length of the initial segment of str which consists only of bytes not in reject. */ /* Return the length of the initial segment of str which consists only of bytes not in reject. */
usize strcspn(const char* str, const char* reject); size_t strcspn(const char* str, const char* reject);
/* Separate a string into several tokens. */ /* Separate a string into several tokens. */
char* strtok(char* str, const char* delim); char* strtok(char* str, const char* delim);