stdlib: add system()
[neatlibc.git] / stdlib.h
blobcb88d059b1c781189a7d8ba1d47bf8ada2a031dd
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 char *getenv(char *name);
16 void qsort(void *a, int n, int sz, int (*cmp)(void *, void *));
17 int mkstemp(char *t);
18 int system(char *cmd);
20 void srand(unsigned int seed);
21 int rand(void);