HeMPS  8.0
utils.h
Go to the documentation of this file.
1 
13 #ifndef SOFTWARE_KERNEL_MASTER_UTILS_UTILS_H_
14 #define SOFTWARE_KERNEL_MASTER_UTILS_UTILS_H_
15 
16 #define FALSE 0
17 #define TRUE 1
18 
19 
20 char *itoa(unsigned int);
21 
22 char *itoh(unsigned int);
23 
24 int abs(int);
25 
26 int rand(int, int, int);
27 
28 int add(int, int);
29 
30 int sub(int, int);
31 
32 void *memset(void *, int, unsigned long);
33 
34 char *fixetoa(int);
35 
36 char *strcpy(char *, const char *);
37 
38 int strlen(const char *);
39 
40 int puts(char *);
41 
42 #define putsv(string, value) puts(string); puts(itoa(value)); puts("\n");
43 
44 #define putsvsv(str1, v1, str2, v2) puts(str1); puts(itoa(v1)); puts(str2); puts(itoa(v2)); puts("\n");
45 
46 
47 
48 #endif /* SOFTWARE_KERNEL_MASTER_UTILS_UTILS_H_ */
char * itoh(unsigned int)
Definition: stdlib.h:51
int rand(int, int, int)
Definition: stdlib.h:92
char * itoa(unsigned int)
Definition: stdlib.h:22
int abs(int)
Definition: stdlib.h:86
int puts(char *)
Definition: utils.c:24