improved parameters
This commit is contained in:
@@ -6,41 +6,39 @@
|
||||
*/
|
||||
/* $Header$ */
|
||||
|
||||
#ifndef _STRING_HEADER_
|
||||
#define _STRING_HEADER_
|
||||
#if !defined(__STRING_HEADER__)
|
||||
#define __STRING_HEADER__
|
||||
|
||||
#ifndef NULL
|
||||
#if !defined(NULL)
|
||||
#define NULL 0
|
||||
#endif /* NULL */
|
||||
|
||||
#ifndef _TYPE_SIZE_
|
||||
#define _TYPE_SIZE_
|
||||
#if !defined(__TYPE_SIZE__)
|
||||
#define __TYPE_SIZE__
|
||||
typedef unsigned int size_t; /* type returned by sizeof */
|
||||
#endif /* _TYPE_SIZE_ */
|
||||
#endif /* __TYPE_SIZE__ */
|
||||
|
||||
#ifdef __STDC__
|
||||
void *memcpy(void *s1, const void *s2, size_t n);
|
||||
void *memmove(void *s1, const void *s2, size_t n);
|
||||
char *strcpy(char *s1, const char *s2);
|
||||
char *strncpy(char *s1, const char *s2, size_t n);
|
||||
char *strcat(char *s1, const char *s2);
|
||||
char *strncat(char *s1, const char *s2, size_t n);
|
||||
int memcmp(const void *s1, const void *s2, size_t n);
|
||||
int strcmp(const char *s1, const char *s2);
|
||||
int strcoll(const char *s1, const char *s2);
|
||||
int strncmp(const char *s1, const char *s2, size_t n);
|
||||
size_t strxfrm(char *s1, const char *s2, size_t n);
|
||||
void *memchr(const void *s, int c, size_t n);
|
||||
char *strchr(const char *s, int c);
|
||||
size_t strcspn(const char *s1, const char *s2);
|
||||
char *strpbrk(const char *s1, const char *s2);
|
||||
char *strrchr(const char *s, int c);
|
||||
size_t strspn(const char *s1, const char *s2);
|
||||
char *strstr(const char *s1, const char *s2);
|
||||
char *strtok(char *s1, const char *s2);
|
||||
void *memset(void *s, int c, size_t n);
|
||||
char *strerror(int errnum);
|
||||
size_t strlen(const char *s);
|
||||
#endif /* __STDC__ */
|
||||
void *memcpy(void *__s1, const void *__s2, size_t __n);
|
||||
void *memmove(void *__s1, const void *__s2, size_t __n);
|
||||
char *strcpy(char *__s1, const char *__s2);
|
||||
char *strncpy(char *__s1, const char *__s2, size_t __n);
|
||||
char *strcat(char *__s1, const char *__s2);
|
||||
char *strncat(char *__s1, const char *__s2, size_t __n);
|
||||
int memcmp(const void *__s1, const void *__s2, size_t __n);
|
||||
int strcmp(const char *__s1, const char *__s2);
|
||||
int strcoll(const char *__s1, const char *__s2);
|
||||
int strncmp(const char *__s1, const char *__s2, size_t __n);
|
||||
size_t strxfrm(char *__s1, const char *__s2, size_t __n);
|
||||
void *memchr(const void *__s, int __c, size_t __n);
|
||||
char *strchr(const char *__s, int __c);
|
||||
size_t strcspn(const char *__s1, const char *__s2);
|
||||
char *strpbrk(const char *__s1, const char *__s2);
|
||||
char *strrchr(const char *__s, int __c);
|
||||
size_t strspn(const char *__s1, const char *__s2);
|
||||
char *strstr(const char *__s1, const char *__s2);
|
||||
char *strtok(char *__s1, const char *__s2);
|
||||
void *memset(void *__s, int __c, size_t __n);
|
||||
char *strerror(int __errnum);
|
||||
size_t strlen(const char *__s);
|
||||
|
||||
#endif /* _STRING_HEADER_ */
|
||||
#endif /* __STRING_HEADER__ */
|
||||
|
||||
Reference in New Issue
Block a user