62 lines
2.2 KiB
C++
62 lines
2.2 KiB
C++
|
/***
|
||
|
*string.h - declarations for string manipulation functions
|
||
|
*
|
||
|
* Copyright (c) 1985-1987, Microsoft Corporation. All rights reserved.
|
||
|
*
|
||
|
*Purpose:
|
||
|
* This file contains the function declarations for the string
|
||
|
* manipulation functions.
|
||
|
* [ANSI/System V]
|
||
|
*
|
||
|
*******************************************************************************/
|
||
|
|
||
|
|
||
|
#ifndef _SIZE_T_DEFINED
|
||
|
typedef unsigned int size_t;
|
||
|
#define _SIZE_T_DEFINED
|
||
|
#endif
|
||
|
|
||
|
#ifndef NO_EXT_KEYS /* extensions enabled */
|
||
|
#define _CDECL cdecl
|
||
|
#else /* extensions not enabled */
|
||
|
#define _CDECL
|
||
|
#endif /* NO_EXT_KEYS */
|
||
|
|
||
|
|
||
|
/* function prototypes */
|
||
|
|
||
|
void * _CDECL memccpy(void *, void *, int, unsigned int);
|
||
|
void * _CDECL memchr(const void *, int, size_t);
|
||
|
int _CDECL memcmp(const void *, const void *, size_t);
|
||
|
int _CDECL memicmp(void *, void *, unsigned int);
|
||
|
void * _CDECL memcpy(void *, const void *, size_t);
|
||
|
void * _CDECL memmove(void *, const void *, size_t);
|
||
|
void * _CDECL memset(void *, int, size_t);
|
||
|
void _CDECL movedata(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
|
||
|
|
||
|
char * _CDECL strcat(char *, const char *);
|
||
|
char * _CDECL strchr(const char *, int);
|
||
|
int _CDECL strcmp(const char *, const char *);
|
||
|
int _CDECL strcmpi(const char *, const char *);
|
||
|
int _CDECL stricmp(const char *, const char *);
|
||
|
char * _CDECL strcpy(char *, const char *);
|
||
|
size_t _CDECL strcspn(const char *, const char *);
|
||
|
char * _CDECL strdup(const char *);
|
||
|
char * _CDECL _strerror(char *);
|
||
|
char * _CDECL strerror(int);
|
||
|
size_t _CDECL strlen(const char *);
|
||
|
char * _CDECL strlwr(char *);
|
||
|
char * _CDECL strncat(char *, const char *, size_t);
|
||
|
int _CDECL strncmp(const char *, const char *, size_t);
|
||
|
int _CDECL strnicmp(const char *, const char *, size_t);
|
||
|
char * _CDECL strncpy(char *, const char *, size_t);
|
||
|
char * _CDECL strnset(char *, int, size_t);
|
||
|
char * _CDECL strpbrk(const char *, const char *);
|
||
|
char * _CDECL strrchr(const char *, int);
|
||
|
char * _CDECL strrev(char *);
|
||
|
char * _CDECL strset(char *, int);
|
||
|
size_t _CDECL strspn(const char *, const char *);
|
||
|
char * _CDECL strstr(const char *, const char *);
|
||
|
char * _CDECL strtok(char *, const char *);
|
||
|
char * _CDECL strupr(char *);
|