string: add strtok

This commit is contained in:
Michael Shaw 2023-10-18 20:46:41 -04:00
commit 5ab34eb11b
2 changed files with 24 additions and 1 deletions

View file

@ -4,12 +4,14 @@
#ifndef __ASM__
#include <kernel/common.h>
#include <stdint.h>
#include <stddef.h>
void *memcpy(void *dest, const void *src, size_t num);
int memcmp(const void *aa, const void *bb, size_t num);
void *memset(void *str, int c, size_t n);
char *strcpy(char *dest, const char *src);
char *strtok(char *str, const char *delim);
char **strsplit(const char *str, char delim, int *num);
size_t strlen(const char *c);
int atoi(const char *a);