Operator Reference

make_dirmake_dirMakeDirMakeDirmake_dir (Operator)

make_dirmake_dirMakeDirMakeDirmake_dir — Make a directory.

Signature

make_dir( : : DirName : )

Herror make_dir(const char* DirName)

Herror T_make_dir(const Htuple DirName)

void MakeDir(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 HOperatorSet.MakeDir(HTuple dirName)

static void HMisc.MakeDir(string dirName)

def make_dir(dir_name: str) -> None

Description

make_dirmake_dirMakeDirMakeDirmake_dir creates the directory given by DirNameDirNameDirNamedirNamedir_name.

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

DirNameDirNameDirNamedirNamedir_name (input_control)  filename.dir HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name of directory to be created.

Result

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

Module

Foundation