Subversion Repositories Kolibri OS

Rev

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

  1. #ifndef __KOS_LIB_H_INCLUDED_
  2. #define __KOS_LIB_H_INCLUDED_
  3.  
  4. int memcmp(const void *buf1, const void *buf2, long int count);
  5. void *memcpy(void *dest, const void *src, unsigned int n);
  6. void *memset(void *s, char c, unsigned int n);
  7.  
  8. unsigned int strlen(const char *str);
  9. char *strcpy(char *dest, const char *src);
  10. char *strncpy(char *dest, const char *src, long int n);
  11. int strcmp(const char *str1, const char *str2);
  12. char *strchr(const char *str, int ch);
  13. char *strstr(const char *str1, const char *str2);
  14.  
  15. double floor(double x);
  16. const char *DoubleToStr(double x, unsigned short digits = 5, bool crop_0 = false);
  17. double StrToDouble(char *str);
  18. long StrToInt(char *str);
  19.  
  20. void MessageBox(char *str);
  21.  
  22. #endif