stdio: fputs()
[neatlibc.git] / stdlib.h
blobe222d889b2df4208fa72cfb5ba3dfa8a8ed3b541
1 #include <stddef.h>
3 #define RAND_MAX 0x7fffffff
5 void *malloc(long n);
6 void free(void *m);
8 int atoi(char *s);
9 long atol(char *s);
10 int abs(int n);
11 long labs(long n);
13 void exit(int status);
14 void abort(void);
15 int atexit(void (*func)(void));
17 char *getenv(char *name);
18 void qsort(void *a, int n, int sz, int (*cmp)(void *, void *));
19 int mkstemp(char *t);
20 int system(char *cmd);
22 void srand(unsigned int seed);
23 int rand(void);
25 /* for examining heap memory allocation */
26 #ifdef MEMTST
27 void *memtst_malloc(long n);
28 void memtst_free(void *v);
29 #define malloc memtst_malloc
30 #define free memtst_free
31 #endif