get_current_dirget_current_dirGetCurrentDirGetCurrentDir (Operator)
Name
get_current_dirget_current_dirGetCurrentDirGetCurrentDir
— Get the current working directory.
Signature
Herror get_current_dir(char* DirName)
Herror T_get_current_dir(Htuple* DirName)
void GetCurrentDir(HTuple* DirName)
static HString HMisc::GetCurrentDir()
Description
get_current_dirget_current_dirGetCurrentDirGetCurrentDirGetCurrentDir
returns the current working directory in
DirNameDirNameDirNameDirNamedirName
.
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
DirNameDirNameDirNameDirNamedirName
(output_control) filename.dir →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Name of current working directory.
Result
get_current_dirget_current_dirGetCurrentDirGetCurrentDirGetCurrentDir
returns the value 2 (H_MSG_TRUE) if the current
working directory could be determined. Otherwise, an exception is
raised.
Module
Foundation