4 * Definitions for memory and string functions.
15 #include <sys/reent.h>
24 _PTR
_EXFUN(memchr
,(const _PTR
, int, size_t));
25 int _EXFUN(memcmp
,(const _PTR
, const _PTR
, size_t));
26 _PTR
_EXFUN(memcpy
,(_PTR
, const _PTR
, size_t));
27 _PTR
_EXFUN(memmove
,(_PTR
, const _PTR
, size_t));
28 _PTR
_EXFUN(memset
,(_PTR
, int, size_t));
29 char *_EXFUN(strcat
,(char *, const char *));
30 char *_EXFUN(strchr
,(const char *, int));
31 int _EXFUN(strcmp
,(const char *, const char *));
32 int _EXFUN(strcoll
,(const char *, const char *));
33 char *_EXFUN(strcpy
,(char *, const char *));
34 size_t _EXFUN(strcspn
,(const char *, const char *));
35 char *_EXFUN(strerror
,(int));
36 size_t _EXFUN(strlen
,(const char *));
37 char *_EXFUN(strncat
,(char *, const char *, size_t));
38 int _EXFUN(strncmp
,(const char *, const char *, size_t));
39 char *_EXFUN(strncpy
,(char *, const char *, size_t));
40 char *_EXFUN(strpbrk
,(const char *, const char *));
41 char *_EXFUN(strrchr
,(const char *, int));
42 size_t _EXFUN(strspn
,(const char *, const char *));
43 char *_EXFUN(strstr
,(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 int _EXFUN(bcmp
,(const char *, const char *, size_t));
55 void _EXFUN(bcopy
,(const char *, char *, size_t));
56 void _EXFUN(bzero
,(char *, size_t));
57 int _EXFUN(ffs
,(int));
58 char *_EXFUN(index
,(const char *, int));
59 _PTR
_EXFUN(memccpy
,(_PTR
, const _PTR
, int, size_t));
60 char *_EXFUN(rindex
,(const char *, int));
61 int _EXFUN(strcasecmp
,(const char *, const char *));
62 char *_EXFUN(strdup
,(const char *));
63 char *_EXFUN(_strdup_r
,(struct _reent
*, const char *));
64 int _EXFUN(strncasecmp
,(const char *, const char *, size_t));
65 char *_EXFUN(strsep
,(char **, const char *));
66 char *_EXFUN(strlwr
,(char *));
67 char *_EXFUN(strupr
,(char *));
68 #if defined (__CYGWIN__) || defined (__MSYS__)
69 #ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
70 const char *_EXFUN(strsignal
, (int __signo
));
72 int _EXFUN(strtosigno
, (const char *__name
));
75 /* These function names are used on Windows and perhaps other systems. */
77 #define strcmpi strcasecmp
80 #define stricmp strcasecmp
83 #define strncmpi strncasecmp
86 #define strnicmp strncasecmp
89 #endif /* ! __STRICT_ANSI__ */
94 #endif /* _STRING_H_ */