File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -14800,21 +14800,18 @@
14800
14800
14801
14801
\begin {itemdescr }
14802
14802
\pnum
14803
- \effects Establishes the postcondition by attempting to create the
14803
+ \effects Creates the
14804
14804
directory \tcode {p} resolves to, with
14805
14805
attributes copied from directory \tcode {existing_p}. The set of attributes
14806
- copied is operating system dependent. Creation failure because \tcode {p} resolves to an existing directory shall not be
14807
- treated as an error.
14806
+ copied is operating system dependent.
14807
+ Creation failure because \tcode {p} already exists is not an error.
14808
14808
\begin {note } For POSIX-based operating systems, the
14809
14809
attributes are those copied by native API \tcode {stat(existing_p.c_str(), \& attributes_stat)}
14810
14810
followed by \tcode {mkdir(p.c_str(), attributes_stat.st_mode)}. For
14811
14811
Windows-based operating systems, the attributes are those copied by native
14812
14812
API \tcode {CreateDirectoryExW(existing_p.c_str(), p.c_str(), 0)}.
14813
14813
\end {note }
14814
14814
14815
- \pnum
14816
- \postconditions \tcode {is_directory(p)}.
14817
-
14818
14815
\pnum
14819
14816
\returns \tcode {true} if a new directory was created, otherwise \tcode {false}.
14820
14817
The signature with argument \tcode {ec} returns \tcode {false} if an error occurs.
You can’t perform that action at this time.
0 commit comments