Incorporate existing strcasestr doc into new doc structure.
[gnulib.git] / doc / functions / mkdir.texi
1 @node mkdir
2 @section @code{mkdir}
3 @findex mkdir
4
5 POSIX specification: @url{http://www.opengroup.org/susv3xsh/mkdir.html}
6
7 Gnulib module: mkdir
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 When the argument ends in a slash, the function call fails on some platforms.
13 @item
14 On Windows platforms (excluding Cygwin), this function is called @code{_mkdir}
15 and takes only one argument.  The fix (without Gnulib) is to define a macro
16 like this:
17 @smallexample
18 #define mkdir ((int (*)()) _mkdir)
19 @end smallexample
20 or
21 @smallexample
22 #define mkdir(path,mode) _mkdir (path)
23 @end smallexample
24 @end itemize
25
26 Portability problems not fixed by Gnulib:
27 @itemize
28 @end itemize