80 extern char *strtok_r(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
81 char **_RESTRICT_KYWD);
82 #endif
83
84 #if defined(__EXTENSIONS__) || !defined(_STRICT_STDC) || \
85 defined(__XOPEN_OR_POSIX)
86 extern void *memccpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD,
87 int, size_t);
88 #endif
89
90 #if !defined(_STRICT_SYMBOLS) || defined(_XPG7)
91
92 extern char *stpcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
93 extern char *stpncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t);
94 extern char *strndup(const char *, size_t);
95 extern size_t strnlen(const char *, size_t);
96 extern char *strsignal(int);
97
98 #ifndef _LOCALE_T
99 #define _LOCALE_T
100 typedef struct locale *locale_t;
101 #endif
102
103 extern int strcoll_l(const char *, const char *, locale_t);
104 extern size_t strxfrm_l(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
105 size_t, locale_t);
106 extern int strcasecmp_l(const char *, const char *, locale_t);
107 extern int strncasecmp_l(const char *, const char *, size_t, locale_t);
108
109 #endif /* defined(_STRICT_SYMBOLS) || defined(_XPG7) */
110
111 #if !defined(_STRICT_SYMBOLS)
112
113 /* Note that some of these are also declared in strings.h for XPG4_2+ */
114 extern int uucopy(const void *_RESTRICT_KYWD, void *_RESTRICT_KYWD, size_t);
115 extern int uucopystr(const void *_RESTRICT_KYWD, void *_RESTRICT_KYWD, size_t);
116 extern int ffs(int);
117 extern int ffsl(long);
118 extern int ffsll(long long);
119 extern int fls(int);
120 extern int flsl(long);
|
80 extern char *strtok_r(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
81 char **_RESTRICT_KYWD);
82 #endif
83
84 #if defined(__EXTENSIONS__) || !defined(_STRICT_STDC) || \
85 defined(__XOPEN_OR_POSIX)
86 extern void *memccpy(void *_RESTRICT_KYWD, const void *_RESTRICT_KYWD,
87 int, size_t);
88 #endif
89
90 #if !defined(_STRICT_SYMBOLS) || defined(_XPG7)
91
92 extern char *stpcpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
93 extern char *stpncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t);
94 extern char *strndup(const char *, size_t);
95 extern size_t strnlen(const char *, size_t);
96 extern char *strsignal(int);
97
98 #ifndef _LOCALE_T
99 #define _LOCALE_T
100 typedef struct _locale *locale_t;
101 #endif
102
103 extern int strcoll_l(const char *, const char *, locale_t);
104 extern size_t strxfrm_l(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
105 size_t, locale_t);
106 extern int strcasecmp_l(const char *, const char *, locale_t);
107 extern int strncasecmp_l(const char *, const char *, size_t, locale_t);
108
109 #endif /* defined(_STRICT_SYMBOLS) || defined(_XPG7) */
110
111 #if !defined(_STRICT_SYMBOLS)
112
113 /* Note that some of these are also declared in strings.h for XPG4_2+ */
114 extern int uucopy(const void *_RESTRICT_KYWD, void *_RESTRICT_KYWD, size_t);
115 extern int uucopystr(const void *_RESTRICT_KYWD, void *_RESTRICT_KYWD, size_t);
116 extern int ffs(int);
117 extern int ffsl(long);
118 extern int ffsll(long long);
119 extern int fls(int);
120 extern int flsl(long);
|