[#BloombergLP-bdls-FilesystemUtil-createPrivateDirectory-0e] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::createPrivateDirectory :relfileprefix: ../../../ :mrdocs: Create a private directory with the specified `path`. == Synopses Declared in `<bdls_filesystemutil.h>` Create a private directory with the specified `path`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static int xref:BloombergLP/bdls/FilesystemUtil/createPrivateDirectory-04.adoc[createPrivateDirectory](char const* path); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/createPrivateDirectory-04.adoc[_» more..._]# Create a private directory with the specified `path`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class STRING_TYPE> static int xref:BloombergLP/bdls/FilesystemUtil/createPrivateDirectory-01.adoc[createPrivateDirectory](STRING_TYPE const& path); ---- [.small]#xref:BloombergLP/bdls/FilesystemUtil/createPrivateDirectory-01.adoc[_» more..._]# == Return Value 0 on success, `k_ERROR_PATH_NOT_FOUND` or `k_ERROR_ALREADY_EXISTS` as described above, and a negative value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *path* | filesystem path of the directory to create |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#