* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / unproto / stdlib.h
blob78d99dd983a7d553b2aac2da32616c4d2ee7ff19
1 /* @(#) stdlib.h 1.1 92/02/15 17:25:45 */
3 #ifndef _stdlib_h_
4 #define _stdlib_h_
6 /* NULL is also defined in <stdio.h> */
8 #ifndef NULL
9 #define NULL 0
10 #endif
13 * Some functions in this file will be missing from the typical pre-ANSI
14 * UNIX library. Some pre-ANSI UNIX library functions have return types
15 * that differ from what ANSI requires.
18 extern double atof();
19 extern int atoi();
20 extern long atol();
21 extern double strtod();
22 extern long strtol();
23 extern unsigned long strtoul();
24 extern int rand();
25 extern void srand();
26 extern char *calloc();
27 extern char *malloc();
28 extern char *realloc();
29 extern void free();
30 extern void abort();
31 extern void exit();
32 extern int atextit();
33 extern int system();
34 extern char *getenv();
35 extern char *bsearch();
36 extern void qsort();
37 extern int abs();
38 extern long labs();
40 typedef struct {
41 int quot;
42 int rem;
43 } div_t;
45 typedef struct {
46 long quot;
47 long rem;
48 } ldiv_t;
50 extern div_t div();
51 extern ldiv_t ldiv();
53 #endif /* _stdlib_h_ */