Ingenic Jz4740: Use lcd_putsf() instead of lcd_puts() in exception handler
[kugel-rb.git] / firmware / include / string.h
blob1a2e056717b073eb0ffb68c13519a8c7e0b85b56
1 /*
2 * string.h
4 * Definitions for memory and string functions.
5 */
7 #ifndef _STRING_H_
8 #define _STRING_H_
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
14 #include "_ansi.h"
16 #define __need_size_t
17 #include <stddef.h>
19 #ifndef NULL
20 #define NULL ((void*)0)
21 #endif
23 _PTR _EXFUN(memchr,(const _PTR, int, size_t));
24 int _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));
28 char *_EXFUN(strcat,(char *, const char *));
29 char *_EXFUN(strchr,(const char *, int));
30 int _EXFUN(strcmp,(const char *, const char *));
31 int _EXFUN(strcoll,(const char *, const char *));
32 char *_EXFUN(strcpy,(char *, const char *));
33 size_t _EXFUN(strcspn,(const char *, const char *));
34 char *_EXFUN(strerror,(int));
35 size_t _EXFUN(strlen,(const char *));
36 char *_EXFUN(strncat,(char *, const char *, size_t));
37 int _EXFUN(strncmp,(const char *, const char *, size_t));
38 char *_EXFUN(strpbrk,(const char *, const char *));
39 char *_EXFUN(strrchr,(const char *, int));
40 size_t _EXFUN(strspn,(const char *, const char *));
41 char *_EXFUN(strstr,(const char *, const char *));
42 char *_EXFUN(strcasestr,(const char *, const char *));
44 size_t strlcpy(char *dst, const char *src, size_t siz);
45 size_t strlcat(char *dst, const char *src, size_t siz);
47 #ifndef _REENT_ONLY
48 char *_EXFUN(strtok,(char *, const char *));
49 #endif
51 size_t _EXFUN(strxfrm,(char *, const char *, size_t));
53 #ifndef __STRICT_ANSI__
54 char *_EXFUN(strtok_r,(char *, const char *, char **));
56 _PTR _EXFUN(memccpy,(_PTR, const _PTR, int, size_t));
57 int _EXFUN(strcasecmp,(const char *, const char *));
58 int _EXFUN(strncasecmp,(const char *, const char *, size_t));
60 #ifdef __CYGWIN__
61 #ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
62 const char *_EXFUN(strsignal, (int __signo));
63 #endif
64 int _EXFUN(strtosigno, (const char *__name));
65 #endif
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
81 #endif /* ! __STRICT_ANSI__ */
83 #ifdef __cplusplus
85 #endif
86 #endif /* _STRING_H_ */