Subversion Repositories Kolibri OS

Rev

Rev 647 | Rev 6412 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef stdlib_h
  2. #define stdlib_h
  3. #include "kolibrisys.h"
  4.  
  5. #define RAND_MAX        65535
  6.  
  7. //#define isspace(c) ((c)==' ')
  8. #define abs(i) (((i)<0)?(-(i)):(i))
  9.  
  10. extern int atoib(char *s,int b);
  11. extern int atoi(char *s);
  12. extern unsigned char tolower(unsigned char c);
  13. extern unsigned char toupper(unsigned char c);
  14. extern void itoab(int n,char* s,int  b);
  15. extern void itoa(int n,char* s);
  16.  
  17. extern void* stdcall malloc(dword size);
  18. extern void  stdcall free(void *pointer);
  19. extern void* stdcall realloc(void* pointer,dword size);
  20.  
  21. extern int rand (void);
  22. extern void srand (unsigned int seed);
  23.  
  24. #endif