124
124
extern size_t strxfrm (char *__restrict __dest,
125
125
__const char *__restrict __src, size_t __n)
126
126
__THROW __nonnull ((2));
127
libc_hidden_proto(strxfrm)
128
127
__END_NAMESPACE_STD
130
129
#if defined __USE_GNU && defined __UCLIBC_HAS_XLOCALE__
257
256
extern void *memmem (__const void *__haystack, size_t __haystacklen,
258
257
__const void *__needle, size_t __needlelen)
259
258
__THROW __attribute_pure__ __nonnull ((1, 3));
260
libc_hidden_proto(memmem)
262
260
/* Copy N bytes of SRC to DEST, return pointer to bytes after the
263
261
last written byte. */
308
306
extern int __xpg_strerror_r (int __errnum, char *__buf, size_t __buflen)
309
307
__THROW __nonnull ((2));
308
libc_hidden_proto(__xpg_strerror_r)
310
309
# ifdef __REDIRECT_NTH
311
310
extern int __REDIRECT_NTH (strerror_r,
312
311
(int __errnum, char *__buf, size_t __buflen),
320
319
extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen)
321
320
__THROW __nonnull ((2));
321
libc_hidden_proto(__glibc_strerror_r)
322
322
# ifdef __REDIRECT_NTH
323
323
extern char * __REDIRECT_NTH (strerror_r,
324
324
(int __errnum, char *__buf, size_t __buflen),
422
422
/* Compare S1 and S2 as strings holding name & indices/version numbers. */
424
423
extern int strverscmp (__const char *__s1, __const char *__s2)
425
424
__THROW __attribute_pure__ __nonnull ((1, 2));
426
425
libc_hidden_proto(strverscmp)
429
427
/* Return a string describing the meaning of the signal number in SIG. */
430
428
extern char *strsignal (int __sig) __THROW;
431
429
libc_hidden_proto(strsignal)
433
431
/* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */
434
#if 0 /* uClibc: disabled */
432
# if 0 /* uClibc: disabled */
435
433
extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
436
434
__THROW __nonnull ((1, 2));
438
436
extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
439
437
__THROW __nonnull ((1, 2));
440
438
libc_hidden_proto(stpcpy)
442
440
/* Copy no more than N characters of SRC to DEST, returning the address of
443
441
the last character written into DEST. */
444
#if 0 /* uClibc: disabled */
442
# if 0 /* uClibc: disabled */
445
443
extern char *__stpncpy (char *__restrict __dest,
446
444
__const char *__restrict __src, size_t __n)
447
445
__THROW __nonnull ((1, 2));
449
447
extern char *stpncpy (char *__restrict __dest,
450
448
__const char *__restrict __src, size_t __n)
451
449
__THROW __nonnull ((1, 2));
452
libc_hidden_proto(stpncpy)
454
#if 0 /* uClibc does not support strfry or memfrob. */
451
# if 0 /* uClibc does not support strfry or memfrob. */
455
452
/* Sautee STRING briskly. */
456
453
extern char *strfry (char *__string) __THROW __nonnull ((1));
458
455
/* Frobnicate N bytes of S. */
459
456
extern void *memfrob (void *__s, size_t __n) __THROW __nonnull ((1));
462
459
# ifndef basename
463
460
/* Return the file name within directory of FILENAME. We don't