diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-19 08:40:05 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-07-19 08:40:05 (GMT) |
commit | 6f094ddde17be4284f76f82a83b5d5f2cba10db6 (patch) | |
tree | 4fdd1f99f5776ef32443672882357458885f0e34 | |
parent | 850b3e24a87d95e1efbabbc401cf1412078e584c (diff) | |
parent | aefbc875acfc5e238b4d17ec233044a07cf23cca (diff) | |
download | tcl-6f094ddde17be4284f76f82a83b5d5f2cba10db6.zip tcl-6f094ddde17be4284f76f82a83b5d5f2cba10db6.tar.gz tcl-6f094ddde17be4284f76f82a83b5d5f2cba10db6.tar.bz2 |
Merge 8.6
-rw-r--r-- | compat/stdlib.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/compat/stdlib.h b/compat/stdlib.h index bb0f133..2f7eaf4 100644 --- a/compat/stdlib.h +++ b/compat/stdlib.h @@ -21,14 +21,18 @@ extern void abort(void); extern double atof(const char *string); extern int atoi(const char *string); extern long atol(const char *string); -extern char * calloc(unsigned int numElements, unsigned int size); +extern void * calloc(unsigned long numElements, unsigned long size); extern void exit(int status); -extern int free(char *blockPtr); +extern void free(void *blockPtr); extern char * getenv(const char *name); -extern char * malloc(unsigned int numBytes); -extern void qsort(void *base, int n, int size, int (*compar)( +extern void * malloc(unsigned long numBytes); +extern void qsort(void *base, unsigned long n, unsigned long size, int (*compar)( const void *element1, const void *element2)); -extern char * realloc(char *ptr, unsigned int numBytes); +extern void * realloc(void *ptr, unsigned long numBytes); +extern char * realpath(const char *path, char *resolved_path); +extern int mkstemps(char *templ, int suffixlen); +extern int mkstemp(char *templ); +extern char * mkdtemp(char *templ); extern long strtol(const char *string, char **endPtr, int base); extern unsigned long strtoul(const char *string, char **endPtr, int base); |