diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2019-09-09 15:58:39 +0100 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2019-09-09 15:58:39 +0100 |
commit | e0720a48b0ce9db78aa1e048e4e2d1d5cfae41db (patch) | |
tree | 149cee510324f36fe9c6d2ec15fa68ac83cb8bfb /sys/include | |
parent | 662fd71e115b1cbd35233f2d64f7828bb9bd3f59 (diff) |
Add mkstemp to stdlib.h
q
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/ape/stdlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/ape/stdlib.h b/sys/include/ape/stdlib.h index 03fbb88c4..896439723 100644 --- a/sys/include/ape/stdlib.h +++ b/sys/include/ape/stdlib.h @@ -49,6 +49,10 @@ extern int wctomb(char *, wchar_t); extern size_t mbstowcs(wchar_t *, const char *, size_t); extern size_t wcstombs(char *, const wchar_t *, size_t); +#ifdef _POSIX_C_SOURCE +extern int mkstemp(char *template); +#endif + #ifdef __cplusplus } #endif |