1 //-----------------------------------------------------------------------------
2 // Jonathan Westhues, Aug 2005
3 // Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com>
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
8 //-----------------------------------------------------------------------------
9 // Common string.h functions
10 //-----------------------------------------------------------------------------
15 int strlen(const char *str
);
16 void *memcpy(void *dest
, const void *src
, int len
);
17 void *memset(void *dest
, int c
, int len
);
18 int memcmp(const void *av
, const void *bv
, int len
);
19 char *strncat(char *dest
, const char *src
, unsigned int n
);
20 char *strcat(char *dest
, const char *src
);
21 void strreverse(char s
[]);
22 void itoa(int n
, char s
[]);
25 #endif /* __STRING_H */