3 #define RAND_MAX 0x7fffffff
13 void exit(int status
);
15 int atexit(void (*func
)(void));
17 char *getenv(char *name
);
18 void qsort(void *a
, int n
, int sz
, int (*cmp
)(void *, void *));
20 int system(char *cmd
);
22 void srand(unsigned int seed
);
25 /* for examining heap memory allocation */
27 void *memtst_malloc(long n
);
28 void memtst_free(void *v
);
29 #define malloc memtst_malloc
30 #define free memtst_free