Sign in Join
FPDoc Onlineexperiment

PError procedure

In unit errors

Print error on standard error output.

Declaration

pascal
procedure PError(const s: string; Errno: cint)

Arguments

s

Short message to print before error number.

Errno

Error number to print, followed by corresponding error text.

Description

PError will print the error message S followed by the errNo and the result for StrError(errNo) for ErrNo on standard output.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.