1 /* string.c -- standard C string-manipulation functions.
3 Copyright (C) 2008 Segher Boessenkool <segher@kernel.crashing.org>
4 Copyright (C) 2009 Haxx Enterprises <bushing@gmail.com>
6 # This code is licensed to you under the terms of the GNU GPL, version 2;
7 # see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
15 size_t strlen(const char *);
16 size_t strnlen(const char *, size_t);
17 void *memset(void *, int, size_t);
18 void *memcpy(void *, const void *, size_t);
19 int memcmp(const void *, const void *, size_t);
20 int strcmp(const char *, const char *);
21 int strncmp(const char *, const char *, size_t);
22 size_t strlcpy(char *, const char *, size_t);
23 size_t strlcat(char *, const char *, size_t);
24 char *strchr(const char *, int);
25 size_t strspn(const char *, const char *);
26 size_t strcspn(const char *, const char *);