blob: 19e87c1a376ea224aa9f0a579f0739d896bbd5a5 (
plain) (
tree)
|
|
#ifndef _DEF_STRING_H
#define _DEF_STRING_H
// #include <stdlib.h>
#include <types.h>
#ifdef __cplusplus
extern "C" {
#endif
int strlen(const char *str);
char *strcpy(char *dest, const char *src);
char *strdup(const char *src); // uses malloc, that's bad
char *strchr(const char *str, char c);
char *strcat(char *dest, const char *src);
int strcmp(const char *s1, const char *s2);
#ifdef __cplusplus
}
#endif
#endif
|