blob: c7da1f57ba571f978de6015415fd7906e6a51a92 [file] [log] [blame]
Daniel Dunbar86f99942011-12-08 02:39:23 +00001/* ===-- string.h - stub SDK header for compiler-rt -------------------------===
2 *
3 * The LLVM Compiler Infrastructure
4 *
5 * This file is dual licensed under the MIT and the University of Illinois Open
6 * Source Licenses. See LICENSE.TXT for details.
7 *
8 * ===-----------------------------------------------------------------------===
9 *
10 * This is a stub SDK header file. This file is not part of the interface of
11 * this library nor an official version of the appropriate SDK header. It is
12 * intended only to stub the features of this header required by compiler-rt.
13 *
14 * ===-----------------------------------------------------------------------===
15 */
16
17#ifndef __STRING_H__
18#define __STRING_H__
19
20typedef __SIZE_TYPE__ size_t;
21
Benjamin Kramerfa3eee42012-03-30 21:37:08 +000022int memcmp(const void *, const void *, size_t);
23void *memcpy(void *, const void *, size_t);
Bill Wendling2a46a602013-05-15 21:31:22 +000024void *memset(void *, int, size_t);
Daniel Dunbar86f99942011-12-08 02:39:23 +000025char *strcat(char *, const char *);
26char *strcpy(char *, const char *);
27char *strdup(const char *);
28size_t strlen(const char *);
29char *strncpy(char *, const char *, size_t);
30
31#endif /* __STRING_H__ */