summaryrefslogtreecommitdiff
path: root/libc/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/stdlib.h')
-rw-r--r--libc/include/stdlib.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h
index 7831424..aeb7a43 100644
--- a/libc/include/stdlib.h
+++ b/libc/include/stdlib.h
@@ -14,10 +14,7 @@
#define EXIT_FAILURE 1
#define EXIT_SUCCESS 0
-extern void * malloc __P ((size_t));
-extern void * calloc __P ((size_t, size_t));
-extern void free __P ((void *));
-extern void * realloc __P ((void *, size_t));
+#include <malloc.h>
extern int rand __P ((void));
extern void srand __P ((unsigned int seed));
@@ -29,6 +26,10 @@ extern unsigned long strtoul __P ((const char * nptr,
extern double strtod __P ((const char * nptr, char ** endptr));
#endif
+extern long int atol __P ((__const char *__nptr));
+extern double atof __P ((__const char *__nptr));
+extern int atoi __P ((__const char *__nptr));
+
/* Returned by `div'. */
typedef struct
{
@@ -43,4 +44,8 @@ typedef struct
long int rem; /* Remainder. */
} ldiv_t;
+
+extern char *getenv __P ((__const char *__name));
+extern char *mktemp __P ((char *__template));
+
#endif /* __STDLIB_H */