4 * Definitions for memory and string functions.
20 #define NULL ((void*)0)
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(strncpy
,(char *, const char *, size_t));
39 char *_EXFUN(strpbrk
,(const char *, const char *));
40 char *_EXFUN(strrchr
,(const char *, int));
41 size_t _EXFUN(strspn
,(const char *, const char *));
42 char *_EXFUN(strstr
,(const char *, const char *));
43 char *_EXFUN(strcasestr
,(const char *, const char *));
46 char *_EXFUN(strtok
,(char *, const char *));
49 size_t _EXFUN(strxfrm
,(char *, const char *, size_t));
51 #ifndef __STRICT_ANSI__
52 char *_EXFUN(strtok_r
,(char *, const char *, char **));
54 _PTR
_EXFUN(memccpy
,(_PTR
, const _PTR
, int, size_t));
55 int _EXFUN(strcasecmp
,(const char *, const char *));
56 int _EXFUN(strncasecmp
,(const char *, const char *, size_t));
59 #ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
60 const char *_EXFUN(strsignal
, (int __signo
));
62 int _EXFUN(strtosigno
, (const char *__name
));
65 /* These function names are used on Windows and perhaps other systems. */
67 #define strcmpi strcasecmp
70 #define stricmp strcasecmp
73 #define strncmpi strncasecmp
76 #define strnicmp strncasecmp
79 #endif /* ! __STRICT_ANSI__ */
84 #endif /* _STRING_H_ */