2008-12-28 14:35:37 +01:00
|
|
|
#ifndef _STRING_H_
|
|
|
|
#define _STRING_H_
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
char *strcpy(char *, const char *);
|
|
|
|
char *strncpy(char *, const char *, size_t);
|
|
|
|
int strcmp(const char *, const char *);
|
2009-01-17 15:05:13 +01:00
|
|
|
int strncmp(const char *p, const char *q, size_t n);
|
2008-12-28 14:35:37 +01:00
|
|
|
size_t strlen(const char *);
|
|
|
|
size_t strnlen(const char *, size_t);
|
2009-01-17 15:05:13 +01:00
|
|
|
char *strchr(const char *s, int c);
|
2008-12-28 14:35:37 +01:00
|
|
|
void *memset(void *, int, size_t);
|
|
|
|
void *memcpy(void *, const void *, size_t);
|
|
|
|
int memcmp(const void *s1, const void *s2, size_t n);
|
|
|
|
|
|
|
|
#endif
|