mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
1999-11-24 Ulrich Drepper <drepper@cygnus.com> * include/string.h: Remove K&R compatibility.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
1999-11-24 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* include/string.h: Remove K&R compatibility.
|
||||||
|
|
||||||
1999-11-23 Ulrich Drepper <drepper@cygnus.com>
|
1999-11-23 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
|
* sysdeps/unix/sysv/linux/bits/signum.h (SIGSYS): New definition.
|
||||||
|
@ -1,25 +1,28 @@
|
|||||||
#ifndef _STRING_H
|
#ifndef _STRING_H
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
extern void *__memccpy (void *__dest, __const void *__src,
|
||||||
|
int __c, size_t __n);
|
||||||
|
|
||||||
|
extern size_t __strnlen (__const char *__string, size_t __maxlen);
|
||||||
|
|
||||||
|
extern char *__strsep (char **__stringp, __const char *__delim);
|
||||||
|
|
||||||
|
extern int __strverscmp (__const char *__s1, __const char *__s2);
|
||||||
|
|
||||||
|
extern int __strncasecmp (__const char *__s1, __const char *__s2,
|
||||||
|
size_t __n);
|
||||||
|
|
||||||
|
extern char *__strndup (__const char *__string, size_t __n);
|
||||||
|
|
||||||
|
extern void *__rawmemchr (__const void *__s, int __c);
|
||||||
|
|
||||||
|
extern char *__strchrnul (__const char *__s, int __c);
|
||||||
|
|
||||||
|
extern void *__memrchr (__const void *__s, int __c, size_t __n);
|
||||||
|
|
||||||
|
/* Now the real definitions. We do this here since some of the functions
|
||||||
|
above are defined as macros in the headers. */
|
||||||
#include <string/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));
|
|
||||||
|
|
||||||
extern char *__strchrnul __P ((__const char *__s, int __c));
|
|
||||||
|
|
||||||
extern __ptr_t __memrchr __P ((__const __ptr_t __s, int __c, size_t __n));
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user