You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
471 B
C
23 lines
471 B
C
#ifndef _STRING_H
|
|
#define _STRING_H
|
|
|
|
#include <types.h>
|
|
|
|
int strcmp(const char *s1, const char *s2);
|
|
|
|
int strncmp(const char *s1, const char *s2, uint32_t n);
|
|
|
|
char *strcpy(char *dest, const char *src);
|
|
|
|
char *strncpy(char *dest, const char *src, uint32_t n);
|
|
|
|
uint32_t strlen(const char *s);
|
|
|
|
int memcpy(void *dst, const void *src, int n);
|
|
|
|
const char *strchr(const char *s, int c);
|
|
|
|
const char *strstr(const char *haystack, const char *needle);
|
|
|
|
#endif /* _STRING_H */
|