49 extern void *
memcpy(
void *dest,
const void *src,
size_t size);
56 extern void *
memset(
void *s,
int c,
size_t n);
63 extern char *
strcpy(
char *dest,
const char *src);
69 extern int strlen(
const char *s);
76 extern int strcmp(
const char *s1,
const char *s2);
82 #endif // __string_h__ Interface: memory data types.
char * strcpy(char *dest, const char *src)
Copy null-terminated string from src to dest.
void * memcpy(void *dest, const void *src, size_t size)
copy memory block from src to dest.
int strlen(const char *s)
Determine string length.
int strcmp(const char *s1, const char *s2)
Compare two strings.
void * memset(void *s, int c, size_t n)
fill memory block with a byte value.