Skip to content

make_dirMakeDirMakeDirmake_dirmake_dir🔗

Short description🔗

make_dirMakeDirMakeDirmake_dirmake_dir — Make a directory.

Signature🔗

make_dir( filename.dir DirName )void MakeDir( const HTuple& DirName )static void HOperatorSet.MakeDir( HTuple dirName )def make_dir( dir_name: str ) -> None

Herror make_dir( const char* DirName )

Herror T_make_dir( const Htuple DirName )

static void HMisc::MakeDir( const HString& DirName )

static void HMisc::MakeDir( const char* DirName )

static void HMisc::MakeDir( const wchar_t* DirName ) (Windows only)

static void HMisc.MakeDir( string dirName )

Description🔗

make_dirMakeDir creates the directory given by DirNamedirNamedir_name.

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

DirNamedirNamedir_name (input_control) filename.dir → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Name of directory to be created.

Result🔗

make_dirMakeDir returns the value 2 (H_MSG_TRUE) if the directory could be created. Otherwise, an exception is raised.

Module🔗

Foundation