|
|
1.1 ! root 1: /*** ! 2: *string.h - declarations for string manipulation functions ! 3: * ! 4: * Copyright (c) 1985-1991, Microsoft Corporation. All rights reserved. ! 5: * ! 6: *Purpose: ! 7: * This file contains the function declarations for the string ! 8: * manipulation functions. ! 9: * [ANSI/System V] ! 10: * ! 11: ****/ ! 12: ! 13: #ifndef _INC_STRING ! 14: ! 15: #ifdef __cplusplus ! 16: extern "C" { ! 17: #endif ! 18: ! 19: ! 20: #if (_MSC_VER <= 600) ! 21: #define __cdecl _cdecl ! 22: #endif ! 23: ! 24: #ifndef _SIZE_T_DEFINED ! 25: typedef unsigned int size_t; ! 26: #define _SIZE_T_DEFINED ! 27: #endif ! 28: ! 29: ! 30: #ifndef _WCHAR_T_DEFINED ! 31: typedef unsigned short wchar_t; ! 32: #define _WCHAR_T_DEFINED ! 33: #endif ! 34: ! 35: ! 36: /* define NULL pointer value */ ! 37: ! 38: #ifndef NULL ! 39: #ifdef __cplusplus ! 40: #define NULL 0 ! 41: #else ! 42: #define NULL ((void *)0) ! 43: #endif ! 44: #endif ! 45: ! 46: ! 47: /* function prototypes */ ! 48: ! 49: void * _memccpy(void *, const void *, int, unsigned int); ! 50: void * memchr(const void *, int, size_t); ! 51: int memcmp(const void *, const void *, size_t); ! 52: int _memicmp(const void *, const void *, unsigned int); ! 53: void * memcpy(void *, const void *, size_t); ! 54: void * memmove(void *, const void *, size_t); ! 55: void * memset(void *, int, size_t); ! 56: char * strcat(char *, const char *); ! 57: char * strchr(const char *, int); ! 58: int strcmp(const char *, const char *); ! 59: int _strcmpi(const char *, const char *); ! 60: int strcoll(const char *, const char *); ! 61: int _stricmp(const char *, const char *); ! 62: char * strcpy(char *, const char *); ! 63: size_t strcspn(const char *, const char *); ! 64: char * _strdup(const char *); ! 65: char * _strerror(const char *); ! 66: char * strerror(int); ! 67: size_t strlen(const char *); ! 68: char * _strlwr(char *); ! 69: char * strncat(char *, const char *, size_t); ! 70: int strncmp(const char *, const char *, size_t); ! 71: int _strnicmp(const char *, const char *, size_t); ! 72: char * strncpy(char *, const char *, size_t); ! 73: char * _strnset(char *, int, size_t); ! 74: char * strpbrk(const char *, const char *); ! 75: char * strrchr(const char *, int); ! 76: char * _strrev(char *); ! 77: char * _strset(char *, int); ! 78: size_t strspn(const char *, const char *); ! 79: char * strstr(const char *, const char *); ! 80: char * strtok(char *, const char *); ! 81: char * _strupr(char *); ! 82: size_t strxfrm (char *, const char *, size_t); ! 83: ! 84: #if !__STDC__ ! 85: /* Non-ANSI names for compatibility */ ! 86: #define memccpy _memccpy ! 87: #define memicmp _memicmp ! 88: #define strcmpi _strcmpi ! 89: #define stricmp _stricmp ! 90: #define strdup _strdup ! 91: #define strlwr _strlwr ! 92: #define strnicmp _strnicmp ! 93: #define strnset _strnset ! 94: #define strrev _strrev ! 95: #define strset _strset ! 96: #define strupr _strupr ! 97: #endif ! 98: ! 99: #ifdef __cplusplus ! 100: } ! 101: #endif ! 102: ! 103: #define _INC_STRING ! 104: #endif /* _INC_STRING */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.