root/include/std/string.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef STRING_H
   2 #define STRING_H
   3 
   4 // CHDK string
   5 
   6 // Note: used in modules and platform independent code. 
   7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values)
   8 
   9 //==========================================================
  10 
  11 extern long strlen(const char *s);
  12 extern int strcmp(const char *s1, const char *s2);
  13 extern int strncmp(const char *s1, const char *s2, long n);
  14 extern char *strchr(const char *s, int c);
  15 extern char *strcpy(char *dest, const char *src);
  16 extern char *strncpy(char *dest, const char *src, long n);
  17 extern char *strcat(char *dest, const char *app);
  18 extern char *strrchr(const char *s, int c);
  19 extern char *strpbrk(const char *s, const char *accept);
  20 extern char *strstr(const char *s, const char *s2);
  21 
  22 extern void *memcpy(void *dest, const void *src, long n);
  23 extern void *memset(void *s, int c, int n);
  24 extern int memcmp(const void *s1, const void *s2, long n);
  25 extern void *memchr(const void *s, int c, int n);
  26 
  27 extern const char *strerror(int num);
  28 
  29 // For building Lua
  30 #define strcoll strcmp
  31 
  32 //---------------------------------------------------------------
  33 
  34 #endif

/* [<][>][^][v][top][bottom][index][help] */