file_existsfile_existsFileExistsFileExistsfile_exists (算子名称)
名称
file_existsfile_existsFileExistsFileExistsfile_exists — Check whether file exists.
参数签名
描述
该算子 file_existsfile_existsFileExistsFileExistsFileExistsfile_exists checks whether the
indicated file already exists. If this is the case, the parameter
FileExistsFileExistsFileExistsFileExistsfileExistsfile_exists is set to TRUE, otherwise to FALSE.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
FileNameFileNameFileNameFileNamefileNamefile_name (input_control) filename → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of file to be checked.
Default:
'/bin/cc'
"/bin/cc"
"/bin/cc"
"/bin/cc"
"/bin/cc"
"/bin/cc"
FileExistsFileExistsFileExistsFileExistsfileExistsfile_exists (output_control) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Boolean number.
结果
If the parameters are correct 该算子 file_existsfile_existsFileExistsFileExistsFileExistsfile_exists returns
the value 2 (
H_MSG_TRUE)
. Otherwise, an exception is raised.
可能的后置算子
open_fileopen_fileOpenFileOpenFileOpenFileopen_file
可替代算子
open_fileopen_fileOpenFileOpenFileOpenFileopen_file
模块
Foundation