object

os

Portable operating-system access predicates.

Availability:
logtalk_load(os(loader))
Author: Paulo Moura
Version: 1:101:2
Date: 2024-12-01
Compilation flags:
static, context_switching_calls
Implements:
public osp
Uses:
Aliases:
osp absolute_file_name/2 as expand_path/2
Remarks:
  • File path expansion: To ensure portability, all file paths are expanded before being handed to the backend Prolog system.

  • Exception terms: Currently, there is no standardization of the exception terms thrown by the different backend Prolog systems.

  • B-Prolog portability: The wall_time/1 predicate is not supported.

  • CxProlog portability: The date_time/7 predicate returns zeros for all arguments.

  • JIProlog portability: The file_permission/2 and command_line_arguments/1 predicates are not supported.

  • Quintus Prolog: The pid/1 and shell/2 predicates are not supported.

  • XSB portability: The command_line_arguments/1 predicate is not supported.

Public predicates

(no local declarations; see entity ancestors if any)

Protected predicates

(no local declarations; see entity ancestors if any)

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)

See also

os_types