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