Did you know ... | Search Documentation: |
Pack logtalk -- logtalk-3.77.0/docs/_sources/os_types_0.rst.txt |
.. index:: os_types .. _os_types/0:
.. rst-class:: right
category
os_types
A set of operating-system related types.
| Availability:
| logtalk_load(os(loader))
| Author: Paulo Moura | Version: 1:4:0 | Date: 2021-02-12
| Compilation flags:
| static
| Provides: | :ref:`type::type/1 <type/0::type/1>` | :ref:`type::check/2 <type/0::check/2>` | Uses: | :ref:`list <list/0>` | :ref:`os <os/0>`
| Remarks:
file
, file(Extensions)
, file(Extensions,Permissions)
, directory
, directory(Permissions)
, and environment_variable
types for type-checking when using the type
library object.file
: For checking if a term is an atom and an existing file.file(Extensions)
: For checking if a term is an atom and an existing file with one of the listed extensions (specified as '.ext'
).file(Extensions,Permissions)
: For checking if a term is an atom and an existing file with one of the listed extensions (specified as '.ext'
) and listed permissions ({read
, write
, execute
}).directory
: For checking if a term is an atom and an existing directory.directory(Permissions)
: For checking if a term is an atom and an existing directory with the listed permissions ({read
, write
, execute
}).environment_variable
: For checking if a term is an atom and an existing environment variable.| Inherited public predicates: | (none)
.. contents:: :local: :backlinks: top
(no local declarations; see entity ancestors if any)
(no local declarations; see entity ancestors if any)
(no local declarations; see entity ancestors if any)
(none)
.. seealso::