]> git.sur5r.net Git - openldap/blob - build/unproto/stdlib.h
Sync with HEAD (fix global schemadn)
[openldap] / build / unproto / stdlib.h
1 /* @(#) stdlib.h 1.1 92/02/15 17:25:45 */
2
3 #ifndef _stdlib_h_
4 #define _stdlib_h_
5
6 /* NULL is also defined in <stdio.h> */
7
8 #ifndef NULL
9 #define NULL    0
10 #endif
11
12 /*
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.
16  */
17
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();
39
40 typedef struct {
41     int     quot;
42     int     rem;
43 } div_t;
44
45 typedef struct {
46     long    quot;
47     long    rem;
48 } ldiv_t;
49
50 extern div_t div();
51 extern ldiv_t ldiv();
52
53 #endif /* _stdlib_h_ */