86 |
#define REALLOC(P, N) ((P) = xrealloc (P, (N) * sizeof *(P))) |
#define REALLOC(P, N) ((P) = xrealloc (P, (N) * sizeof *(P))) |
87 |
|
|
88 |
/* From xstrndup.c. */ |
/* From xstrndup.c. */ |
89 |
char *xstrndup (const char *s, size_t n); |
char *xstrndup (const char *str, size_t size); |
90 |
|
|
91 |
|
|
92 |
/*---------------------. |
/*---------------------. |
98 |
#endif |
#endif |
99 |
|
|
100 |
#if defined HAVE_DECL_STRCHR && !HAVE_DECL_STRCHR |
#if defined HAVE_DECL_STRCHR && !HAVE_DECL_STRCHR |
101 |
char *strchr (const char *s, int c); |
char *strchr (const char *str, int ch); |
102 |
#endif |
#endif |
103 |
|
|
104 |
#if defined HAVE_DECL_STRSPN && !HAVE_DECL_STRSPN |
#if defined HAVE_DECL_STRSPN && !HAVE_DECL_STRSPN |
105 |
size_t strspn (const char *s, const char *accept); |
size_t strspn (const char *str, const char *accept); |
106 |
#endif |
#endif |
107 |
|
|
108 |
#if defined HAVE_DECL_STRNLEN && !HAVE_DECL_STRNLEN |
#if defined HAVE_DECL_STRNLEN && !HAVE_DECL_STRNLEN |
109 |
size_t strnlen (const char *s, size_t maxlen); |
size_t strnlen (const char *str, size_t maxlen); |
110 |
#endif |
#endif |
111 |
|
|
112 |
#if defined HAVE_DECL_MEMCHR && !HAVE_DECL_MEMCHR |
#if defined HAVE_DECL_MEMCHR && !HAVE_DECL_MEMCHR |
113 |
void *memchr (const void *s, int c, size_t n); |
void *memchr (const void *str, int ch, size_t size); |
114 |
#endif |
#endif |
115 |
|
|
116 |
#if defined HAVE_DECL_MEMRCHR && !HAVE_DECL_MEMRCHR |
#if defined HAVE_DECL_MEMRCHR && !HAVE_DECL_MEMRCHR |
117 |
void *memrchr (const void *s, int c, size_t n); |
void *memrchr (const void *str, int ch, size_t size); |
118 |
#endif |
#endif |
119 |
|
|
120 |
|
|