metal-cos/include/string.h

23 lines
616 B
C
Raw Normal View History

2014-07-06 00:07:32 -07:00
#ifndef __STRING_H__
#define __STRING_H__
#include <stdint.h>
2014-07-31 18:16:08 -07:00
int memcmp(const void *b1, const void *b2, size_t len);
2014-07-06 00:07:32 -07:00
void *memcpy(void *dst, const void *src, size_t len);
void *memset(void *dst, int c, size_t len);
2014-07-13 14:22:59 -07:00
char *strchr(const char *s, int c);
2014-07-06 00:07:32 -07:00
int strcmp(const char *s1, const char *s2);
char *strcpy(char *to, const char *from);
size_t strlen(const char *str);
2014-10-14 14:07:55 -07:00
int strncmp(const char *s1, const char *s2, size_t len);
2014-07-10 15:55:32 -07:00
char *strncpy(char *to, const char *from, size_t len);
2014-07-06 00:07:32 -07:00
2015-01-23 12:15:26 -08:00
char *strcat(char *s, const char *append);
char *strncat(char *s, const char *append, size_t count);
2014-07-06 00:07:32 -07:00
#endif /* __STRING_H__ */