![Click to show exports only All predicates](/swish/pldoc/res/private.png)
files.pl
can_open_file(+Path, +Mode)
- Succeeds if the user has access to `File' in mode `Mode'. Fails silently if this is not the case. `Mode' is one of {read, write, both}. This used to be difficult. Since we have access_file/2 it is merely a Quintus compatibility predicate and should be in quintus.pl. We will leave it here for compatibility reasons.
chdir(+Dir) is det
- Change Working Directory.