blob: a41459e23b6b3f7b9f92986b95eb06e40ed76860 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef _DEF_STRING_H
#define _DEF_STRING_H
// #include <stdlib.h>
#include <types.h>
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);
#endif
|