C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
_mkdir
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _mkdir function creates a new directory with the specified
     <dirname>. Only one directory can be created at a time, so only
     the last component of <dirname> can name a new directory.
 
     The _mkdir function does not do any translation of path-name
     delimiters. All operating systems accept either "\" or "/"
     internally as valid delimiters within path names.
 
     Return Value
 
     The _mkdir function returns the value 0 if the new directory was
     created. A return value of -1 indicates an error, and errno is set
     to either EACCES or ENOENT.
                                    -♦-