summaryrefslogtreecommitdiff
path: root/libc/include/stdlib.h
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>2002-08-11 08:50:48 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:48:48 +0200
commit26ade8d624457b7164502ed9c190ca3f146bda0c (patch)
tree75a70b6a562bc595c971e170994a8e302a8c7b3b /libc/include/stdlib.h
parent660429af0232d4afcb3e03fb0437053dd6e16286 (diff)
downloaddev86-26ade8d624457b7164502ed9c190ca3f146bda0c.tar.gz
Import Dev86src-0.16.8.tar.gzv0.16.8
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 */