diff --git a/modules/src/system/tmpnam.c b/modules/src/system/tmpnam.c new file mode 100644 index 000000000..1c58261ac --- /dev/null +++ b/modules/src/system/tmpnam.c @@ -0,0 +1,16 @@ +/* Copyright (c) 2019. See the file License in + * the root directory for more information. + * + * Created on: 2019-03-13 + * + */ +#include + +/* This has been placed here, because on some famous platforms, this + * call is completely broken (e.g Windows up to recent versions of CRT) + */ +char* sys_tmpnam(char *buffer) +{ + return tmpnam(buffer); +} +