Subversion Repositories Kolibri OS

Rev

Rev 9811 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef _STRING_H_
  2. #define _STRING_H_
  3.  
  4. #include <stddef.h>
  5.  
  6. DLLAPI void* memccpy(void* restrict dest, const void* restrict src, int c, size_t n);
  7.  
  8. #ifdef __TINYC__
  9. extern void* memcpy(void* s1, const void* s2, size_t n);
  10. extern void* memset(void* s, int c, size_t n);
  11. extern void* memmove(void* s1, const void* s2, size_t n);
  12. #else
  13. DLLAPI void* memcpy(void* s1, const void* s2, size_t n);
  14. DLLAPI void* memset(void* s, int c, size_t n);
  15. DLLAPI void* memmove(void* s1, const void* s2, size_t n);
  16. #endif
  17.  
  18. DLLAPI char* strcpy(char* s1, const char* s2);
  19. DLLAPI char* strncpy(char* s1, const char* s2, size_t n);
  20. DLLAPI char* strcat(char* s1, const char* s2);
  21. DLLAPI char* strncat(char* s1, const char* s2, size_t n);
  22. DLLAPI int memcmp(const void* s1, const void* s2, size_t n);
  23. DLLAPI int strcmp(const char* s1, const char* s2);
  24. DLLAPI int strcoll(const char* s1, const char* s2);
  25. DLLAPI int strncmp(const char* s1, const char* s2, size_t n);
  26. DLLAPI size_t strxfrm(char* s1, const char* s2, size_t n);
  27. DLLAPI void* memchr(const void* s, int c, size_t n);
  28. DLLAPI char* strchr(const char* s, int c);
  29. DLLAPI size_t strcspn(const char* s1, const char* s2);
  30. DLLAPI char* strpbrk(const char* s1, const char* s2);
  31. DLLAPI char* strrchr(const char* s, int c);
  32. DLLAPI size_t strspn(const char* s1, const char* s2);
  33. DLLAPI char* strstr(const char* s1, const char* s2);
  34. DLLAPI char* strtok(char* s1, const char* s2);
  35. DLLAPI char* strerror(int errnum);
  36. DLLAPI size_t strlen(const char* s);
  37. DLLAPI char* strrev(char* str);
  38. DLLAPI char* strdup(const char* str);
  39.  
  40. #endif
  41.