Many changes to simplify porting applications.
This commit is contained in:
@@ -40,6 +40,11 @@ _PROTOTYPE( char *strstr, (const char *_s1, const char *_s2) );
|
||||
_PROTOTYPE( char *strtok, (char *_s1, const char *_s2) );
|
||||
_PROTOTYPE( size_t strxfrm, (char *_s1, const char *_s2, size_t _n) );
|
||||
|
||||
#ifdef _POSIX_SOURCE
|
||||
/* Open Group Base Specifications Issue 6 (not complete) */
|
||||
char *strdup(const char *_s1);
|
||||
#endif
|
||||
|
||||
#ifdef _MINIX
|
||||
/* For backward compatibility. */
|
||||
_PROTOTYPE( char *index, (const char *_s, int _charwanted) );
|
||||
@@ -49,6 +54,7 @@ _PROTOTYPE( int bcmp, (const void *_s1, const void *_s2, size_t _length));
|
||||
_PROTOTYPE( void bzero, (void *_dst, size_t _length) );
|
||||
_PROTOTYPE( void *memccpy, (char *_dst, const char *_src, int _ucharstop,
|
||||
size_t _size) );
|
||||
|
||||
/* Misc. extra functions */
|
||||
_PROTOTYPE( int strcasecmp, (const char *_s1, const char *_s2) );
|
||||
_PROTOTYPE( int strncasecmp, (const char *_s1, const char *_s2,
|
||||
|
||||
Reference in New Issue
Block a user