file_existsfile_existsFileExistsFileExists (Operator)
Name
file_existsfile_existsFileExistsFileExists — Check whether file exists.
Signature
Description
The operator file_existsfile_existsFileExistsFileExistsFileExists checks whether the
indicated file already exists. If this is the case, the parameter
FileExistsFileExistsFileExistsFileExistsfileExists is set to TRUE, otherwise to FALSE.
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
FileNameFileNameFileNameFileNamefileName (input_control) filename → HTupleHTupleHtuple (string) (string) (HString) (char*)
Name of file to be checked.
Default value:
'/bin/cc'
"/bin/cc"
"/bin/cc"
"/bin/cc"
"/bin/cc"
FileExistsFileExistsFileExistsFileExistsfileExists (output_control) integer → HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
boolean number.
Result
If the parameters are correct the operator file_existsfile_existsFileExistsFileExistsFileExists returns
the value 2 (H_MSG_TRUE). Otherwise, an exception is raised.
Possible Successors
open_fileopen_fileOpenFileOpenFileOpenFile
Alternatives
open_fileopen_fileOpenFileOpenFileOpenFile
Module
Foundation