libc: Replace usize with size_t in string.h
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
12bc59ead5
commit
3b03e19489
@ -48,10 +48,10 @@ extern "C"
|
||||
char* strerror(int errnum);
|
||||
|
||||
/* 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. */
|
||||
usize strcspn(const char* str, const char* reject);
|
||||
size_t strcspn(const char* str, const char* reject);
|
||||
|
||||
/* Separate a string into several tokens. */
|
||||
char* strtok(char* str, const char* delim);
|
||||
|
Loading…
Reference in New Issue
Block a user