file_existsfile_existsFileExistsFileExistsfile_exists (Operator)
Name
file_existsfile_existsFileExistsFileExistsfile_exists
— Check whether file exists.
Signature
Description
The operator 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.
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
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.
Result
If the parameters are correct the operator file_existsfile_existsFileExistsFileExistsFileExistsfile_exists
returns
the value 2 (
H_MSG_TRUE)
. Otherwise, an exception is raised.
Possible Successors
open_fileopen_fileOpenFileOpenFileOpenFileopen_file
Alternatives
open_fileopen_fileOpenFileOpenFileOpenFileopen_file
Module
Foundation