string: add strsplit
This commit is contained in:
parent
03eb0b0048
commit
14a681c53e
5 changed files with 45 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ static int printf_write(const char *restrict s)
|
|||
}
|
||||
|
||||
/* this is seriously the approach i'm going with for now */
|
||||
int snprintf(char *str, char *restrict fmt, size_t size, ...)
|
||||
int snprintf(char *str, const char *restrict fmt, size_t size, ...)
|
||||
{
|
||||
int ret = 0;
|
||||
char c;
|
||||
|
|
|
|||
Loading…
Reference in a new issue