function sigorset(__set, __left, __right:psigset_t):integer;cdecl;external 'c';
(* набор функций для нелокальных переходов *)
(* Store the calling environment in ENV, also saving the signal mask.
Return 0. *)
function setjmp(var __env:jmp_buf):integer;cdecl;external 'c';
(* Store the calling environment in ENV, not saving the signal mask.
Return 0. *)
function _setjmp(var __env:jmp_buf):integer;cdecl;external 'c';
(* Store the calling environment in ENV, also saving the
signal mask if SAVEMASK is nonzero. Return 0. *)
function sigsetjmp(var __env:jmp_buf;__savemask:longint):integer;cdecl;external 'c' name '__sigsetjmp';
(* Jump to the environment saved in ENV, making the
`setjmp' call there return VAL, or 1 if VAL is 0. *)
procedure longjmp(var __env:jmp_buf;__val:integer);cdecl;external 'c';
(* Jump to the environment saved in ENV, making the
sigsetjmp call there return VAL, or 1 if VAL is 0.
Restore the signal mask if that sigsetjmp call saved it.
This is just an alias `longjmp'. *)
procedure siglongjmp(var __env:jmp_buf;__val:integer);cdecl;external 'c';
(* fpathconf, pathconf - get configuration values for files *)
function fpathconf(filedes,name:longint):longint;cdecl;external 'c';
function pathconf(path:pchar;name:longint):longint;cdecl;external 'c';
function sysconf(name:integer):longint;cdecl;external 'c';
(* setpgid, getpgid, setpgrp, getpgrp - set/get process group *)
function setpgid(pid, pgid:longint):longint;cdecl;external 'c';
function getpgid(pid:longint):longint;cdecl;external 'c';
function setpgrp:longint;cdecl;external 'c';
function getpgrp:longint;cdecl;external 'c';
function getsid(pid:longint):longint;cdecl;external 'c';
function setsid:longint;cdecl;external 'c';
(* grantpt - grant access to the slave pseudotty*)
function grantpt(fd:longint):longint;cdecl;external 'c';
(* unlockpt - unlock a pseudotty master/slave pair*)