chez-libs

Update of "(system errno)"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: cc74c903f03e5af7c3a559683a8fc59907273e48
Page Name:(system errno)
Date: 2016-05-21 15:17:12
Original User: murphy
Parent: 9caa8f7cf2d7ebd932fc2446e23b618bf6641cb4 (diff)
Content

System Error Status Binding

Synopsis

(import (system errno))

Access the system error status through errno(3) or GetLastError.

Conditions

condition: &errno

procedure: (errno-condition? any)

procedure: (make-errno-condition errno)

procedure: (condition-errno condition)

The &errno condition type is derived from &condition and stores a numeric error code that may be extracted using condition-errno.

parameter: current-errno-condition

When queried, the parameter returns a composite condition with the types &errno and &message that contains the current system error status and a human-readable string describing the status.

When set, the parameter sets the system error status to the condition-errno of the condition object that was passed in.

Operations

parameter: current-errno

The current numeric system error status.

procedure: (errno->string errno)

Returns a human-readable description of a system error status.