summaryrefslogtreecommitdiff
path: root/firmware/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include/string.h')
-rw-r--r--firmware/include/string.h86
1 files changed, 0 insertions, 86 deletions
diff --git a/firmware/include/string.h b/firmware/include/string.h
deleted file mode 100644
index 1a2e056717..0000000000
--- a/firmware/include/string.h
+++ /dev/null
@@ -1,86 +0,0 @@
1/*
2 * string.h
3 *
4 * Definitions for memory and string functions.
5 */
6
7#ifndef _STRING_H_
8#define _STRING_H_
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include "_ansi.h"
15
16#define __need_size_t
17#include <stddef.h>
18
19#ifndef NULL
20#define NULL ((void*)0)
21#endif
22
23_PTR _EXFUN(memchr,(const _PTR, int, size_t));
24int _EXFUN(memcmp,(const _PTR, const _PTR, size_t));
25_PTR _EXFUN(memcpy,(_PTR, const _PTR, size_t));
26_PTR _EXFUN(memmove,(_PTR, const _PTR, size_t));
27_PTR _EXFUN(memset,(_PTR, int, size_t));
28char *_EXFUN(strcat,(char *, const char *));
29char *_EXFUN(strchr,(const char *, int));
30int _EXFUN(strcmp,(const char *, const char *));
31int _EXFUN(strcoll,(const char *, const char *));
32char *_EXFUN(strcpy,(char *, const char *));
33size_t _EXFUN(strcspn,(const char *, const char *));
34char *_EXFUN(strerror,(int));
35size_t _EXFUN(strlen,(const char *));
36char *_EXFUN(strncat,(char *, const char *, size_t));
37int _EXFUN(strncmp,(const char *, const char *, size_t));
38char *_EXFUN(strpbrk,(const char *, const char *));
39char *_EXFUN(strrchr,(const char *, int));
40size_t _EXFUN(strspn,(const char *, const char *));
41char *_EXFUN(strstr,(const char *, const char *));
42char *_EXFUN(strcasestr,(const char *, const char *));
43
44size_t strlcpy(char *dst, const char *src, size_t siz);
45size_t strlcat(char *dst, const char *src, size_t siz);
46
47#ifndef _REENT_ONLY
48char *_EXFUN(strtok,(char *, const char *));
49#endif
50
51size_t _EXFUN(strxfrm,(char *, const char *, size_t));
52
53#ifndef __STRICT_ANSI__
54char *_EXFUN(strtok_r,(char *, const char *, char **));
55
56_PTR _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
57int _EXFUN(strcasecmp,(const char *, const char *));
58int _EXFUN(strncasecmp,(const char *, const char *, size_t));
59
60#ifdef __CYGWIN__
61#ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
62const char *_EXFUN(strsignal, (int __signo));
63#endif
64int _EXFUN(strtosigno, (const char *__name));
65#endif
66
67/* These function names are used on Windows and perhaps other systems. */
68#ifndef strcmpi
69#define strcmpi strcasecmp
70#endif
71#ifndef stricmp
72#define stricmp strcasecmp
73#endif
74#ifndef strncmpi
75#define strncmpi strncasecmp
76#endif
77#ifndef strnicmp
78#define strnicmp strncasecmp
79#endif
80
81#endif /* ! __STRICT_ANSI__ */
82
83#ifdef __cplusplus
84}
85#endif
86#endif /* _STRING_H_ */