Next: mkdirat, Previous: memset, Up: Function Substitutes [Contents][Index]
mkdir
POSIX specification:
http://www.opengroup.org/onlinepubs/9699919799/functions/mkdir.html
Gnulib module: mkdir
Portability problems fixed by Gnulib:
<io.h>
or
<direct.h>
) on some platforms:
mingw, MSVC 9.
_mkdir
and takes only one argument. The fix (without Gnulib) is to define a macro
like this:
#define mkdir ((int (*)()) _mkdir)
or
#define mkdir(path,mode) _mkdir (path)
Portability problems not fixed by Gnulib: