C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_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.
                                    -♦-