Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.2 KiB

  1. /***
  2. *string.h - declarations for string manipulation functions
  3. *
  4. * Copyright (c) 1985-1988, 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. #ifndef _SIZE_T_DEFINED
  13. typedef unsigned int size_t;
  14. #define _SIZE_T_DEFINED
  15. #endif
  16. #ifndef NO_EXT_KEYS /* extensions enabled */
  17. #define _CDECL cdecl
  18. #else /* extensions not enabled */
  19. #define _CDECL
  20. #endif /* NO_EXT_KEYS */
  21. /* function prototypes */
  22. void * _CDECL memccpy(void *, void *, int, unsigned int);
  23. void * _CDECL memchr(const void *, int, size_t);
  24. int _CDECL memcmp(const void *, const void *, size_t);
  25. int _CDECL memicmp(void *, void *, unsigned int);
  26. void * _CDECL memcpy(void *, const void *, size_t);
  27. void * _CDECL memmove(void *, const void *, size_t);
  28. void * _CDECL memset(void *, int, size_t);
  29. void _CDECL movedata(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int);
  30. char * _CDECL strcat(char *, const char *);
  31. char * _CDECL strchr(const char *, int);
  32. int _CDECL strcmp(const char *, const char *);
  33. int _CDECL strcmpi(const char *, const char *);
  34. int _CDECL stricmp(const char *, const char *);
  35. char * _CDECL strcpy(char *, const char *);
  36. size_t _CDECL strcspn(const char *, const char *);
  37. char * _CDECL strdup(const char *);
  38. char * _CDECL _strerror(char *);
  39. char * _CDECL strerror(int);
  40. size_t _CDECL strlen(const char *);
  41. char * _CDECL strlwr(char *);
  42. char * _CDECL strncat(char *, const char *, size_t);
  43. int _CDECL strncmp(const char *, const char *, size_t);
  44. int _CDECL strnicmp(const char *, const char *, size_t);
  45. char * _CDECL strncpy(char *, const char *, size_t);
  46. char * _CDECL strnset(char *, int, size_t);
  47. char * _CDECL strpbrk(const char *, const char *);
  48. char * _CDECL strrchr(const char *, int);
  49. char * _CDECL strrev(char *);
  50. char * _CDECL strset(char *, int);
  51. size_t _CDECL strspn(const char *, const char *);
  52. char * _CDECL strstr(const char *, const char *);
  53. char * _CDECL strtok(char *, const char *);
  54. char * _CDECL strupr(char *);