mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
482eec0d11
1999-01-16 Ulrich Drepper <drepper@cygnus.com> * elf/Makefile (tests): Add loadtest. Add rules to generate test modules. * Makeconfig (+link): Add $(LDFLAGS-$(@F)) to command line. * elf/loadtest.c: New file. * elf/testobj1.c: New file. * elf/testobj2.c: New file. * elf/testobj3.c: New file. * elf/dl-close.c: Correct removing module from global list. * elf/dl-open.c: Add debugging code. * include/string.h: Add __rawmemchr prototype. * string/Makefile (routines): Add rawmemchr. * string/Versions [GLIBC_2.1]: Add __rawmemchr and rawmemchr. * string/string.h: Add prototype for rawmemchr. * string/bits/string2.h: Optimize strchr with rawmemchr. * sysdeps/generic/rawmemchr.c: New file. * sysdeps/i386/rawmemchr.c: New file. * sysdeps/i386/i486/bits/string.h: Add rawmemchr inline code. Optimize strchr with rawmemchr. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _LFS_LARGEFILE, _LFS64_LARGEFILE, and _LFS64_STDIO for Unix98. 1999-01-14 Andreas Jaeger <aj@arthur.rhein-neckar.de> * nis/nis_error.c (nis_errlist): Fix capitilasation.
22 lines
649 B
C
22 lines
649 B
C
#ifndef _STRING_H
|
|
#include <string/string.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern __ptr_t __memccpy __P ((__ptr_t __dest, __const __ptr_t __src,
|
|
int __c, size_t __n));
|
|
|
|
extern size_t __strnlen __P ((__const char *__string, size_t __maxlen));
|
|
|
|
extern char *__strsep __P ((char **__stringp, __const char *__delim));
|
|
|
|
extern int __strverscmp __P ((__const char *__s1, __const char *__s2));
|
|
|
|
extern int __strncasecmp __P ((__const char *__s1, __const char *__s2,
|
|
size_t __n));
|
|
|
|
extern char *__strndup __P ((__const char *__string, size_t __n));
|
|
|
|
extern __ptr_t __rawmemchr __P ((__const __ptr_t __s, int __c));
|
|
|
|
#endif
|