Effects: Creates the
directory
p resolves to, with
attributes copied from directory
existing_Âp. The set of attributes
copied is operating system dependent
. If
mkdir fails because
p resolves to an existing directory,
no error is reported
. Otherwise on failure an error is reported
. [
Note 1:
For POSIX-based operating systems, the
attributes are those copied by native API
stat(existing_Âp.c_Âstr(), &attributes_Âstat)
followed by
mkdir(p.c_Âstr(), attributes_Âstat.st_Âmode). For
Windows-based operating systems, the attributes are those copied by native
API
CreateDirectoryExW(existing_Âp.c_Âstr(), p.c_Âstr(), 0). —
end note]