Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
647 andrew_pro 1
#ifndef stdlib_h
2
#define stdlib_h
3
#include "kolibrisys.h"
4
 
696 andrew_pro 5
#define	RAND_MAX	65535
6
 
215 victor 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);
647 andrew_pro 12
extern unsigned char tolower(unsigned char c);
13
extern unsigned char toupper(unsigned char c);
215 victor 14
extern void itoab(int n,char* s,int  b);
560 victor 15
extern void itoa(int n,char* s);
611 andrew_pro 16
 
647 andrew_pro 17
extern void* stdcall malloc(dword size);
18
extern void  stdcall free(void *pointer);
19
extern void* stdcall realloc(void* pointer,dword size);
696 andrew_pro 20
 
21
extern int rand (void);
22
extern void srand (unsigned int seed);
23
 
647 andrew_pro 24
#endif