get_current_dirget_current_dirGetCurrentDirGetCurrentDirget_current_dir (Operator)

Name

get_current_dirget_current_dirGetCurrentDirGetCurrentDirget_current_dir — Get the current working directory.

Signature

get_current_dir( : : : DirName)

Herror get_current_dir(char* DirName)

Herror T_get_current_dir(Htuple* DirName)

void GetCurrentDir(HTuple* DirName)

static HString HMisc::GetCurrentDir()

static void HOperatorSet.GetCurrentDir(out HTuple dirName)

static string HMisc.GetCurrentDir()

def get_current_dir() -> str

Description

get_current_dirget_current_dirGetCurrentDirGetCurrentDirget_current_dir returns the current working directory in DirNameDirNameDirNamedirNamedir_name.

Execution Information

Parameters

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

Name of current working directory.

Result

get_current_dirget_current_dirGetCurrentDirGetCurrentDirget_current_dir returns the value 2 ( H_MSG_TRUE) if the current working directory could be determined. Otherwise, an exception is raised.

Module

Foundation