Since most of the builtins are directly bound to corr. system functions/calls, they may or may not present in a certain configuration, so one should generally check their presence with feature before using.
The following builtins, however, are guaranteed to exist: rmfile, mvfile, tmpfile, searchpath, ioerror, clearerr. However, the way how these builtins work is highly system-dependent.
For most part, the builtins in the module do not throw errors; instead, they put error condition descriptions in an internal buffer accessible via ioerror.
RETURNS: | true if filename exists |
NOTE: | On most systems pathname must be empty |
NOTE: | One generally cannot remove a directory with this function, use rmdir instead |
RETURNS: | a unique name suitable for a temporary file with prefix |
NOTE: | no slashes is added to prefix |
ERROR: | tmpfile failed: description |
RETURNS: | the size in bytes of pathname |
RETURNS: | true if pathname1 is newer than pathname2 |
NOTE: | This builtin's behaviour (inc. the valid patterns) completely depends on the system glob implementation |
RETURNS: | a I/O error description produced by other functions of the module |
if it does not start with '/', './' or '../', search it in the colon-separated pathlist
if file is not found and force is present and not empty, places file at the last path in pathlist
RETURNS: | constructed filename |