delete_filedelete_fileDeleteFileDeleteFiledelete_file (算子名称)
名称
delete_filedelete_fileDeleteFileDeleteFiledelete_file — Delete a file.
参数签名
Herror delete_file(const char* FileName)
Herror T_delete_file(const Htuple FileName)
描述
delete_filedelete_fileDeleteFileDeleteFileDeleteFiledelete_file deletes the file given by FileNameFileNameFileNameFileNamefileNamefile_name.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
FileNameFileNameFileNameFileNamefileNamefile_name (input_control) filename → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
File to be deleted.
结果
delete_filedelete_fileDeleteFileDeleteFileDeleteFiledelete_file 返回值 2 (
H_MSG_TRUE)
if the file exists and
could be deleted. Otherwise, an exception is raised.
模块
Foundation