remove_dirremove_dirRemoveDirRemoveDir (Operator)
Name
remove_dirremove_dirRemoveDirRemoveDir
— Delete an empty directory.
Signature
Herror remove_dir(const char* DirName)
Herror T_remove_dir(const Htuple DirName)
Description
remove_dirremove_dirRemoveDirRemoveDirRemoveDir
deletes the empty directory given by 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
(input_control) filename.dir →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Name of directory to be deleted.
Result
remove_dirremove_dirRemoveDirRemoveDirRemoveDir
returns the value 2 (H_MSG_TRUE) if the directory
could be deleted. Otherwise, an exception is raised.
Module
Foundation