object

os

Portable operating-system access predicates.

Author: Paulo Moura
Version: 1:93:3
Date: 2022-05-29
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.

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

  • Qu-Prolog portability: The directory_files/2 predicate is not supported.

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

  • Scryer Prolog: The file_permission/2, cpu_time/1, and wall_time/1 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