]>
Commit | Line | Data |
---|---|---|
bd20f8f4 | 1 | //----------------------------------------------------------------------------- |
2 | // Jonathan Westhues, Aug 2005 | |
3 | // Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com> | |
4 | // | |
5 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
6 | // at your option, any later version. See the LICENSE.txt file for the text of | |
7 | // the license. | |
8 | //----------------------------------------------------------------------------- | |
9 | // Common string.h functions | |
10 | //----------------------------------------------------------------------------- | |
11 | ||
9ab7a6c7 | 12 | #ifndef __STRING_H |
13 | #define __STRING_H | |
14 | ||
ad326d84 | 15 | #include <stddef.h> |
9484ff3d | 16 | |
ad326d84 | 17 | void *memcpy(void *dest, const void *src, size_t len); |
555fa197 | 18 | void *memset(void *dest, int c, size_t len); |
19 | void *memmove(void *dest, const void *src, size_t len); | |
ad326d84 | 20 | int memcmp(const void *av, const void *bv, size_t len); |
555fa197 | 21 | size_t strlen(const char *str); |
22 | char *strncat(char *dest, const char *src, size_t n); | |
9455b51c | 23 | char *strcat(char *dest, const char *src); |
9ab7a6c7 | 24 | |
c1bd1140 | 25 | #endif /* __STRING_H */ |