fpc/packages/base/libc/cerrno.inc
2005-02-14 17:13:06 +00:00

17 lines
210 B
PHP

{ Translation of macro }
{$ifndef LIBC_OLDERRNO}
function errno : error_t;
begin
Result:=__errno_location()^;
end;
procedure seterrno (value : error_t);
begin
__errno_location()^:=Value;
end;
{$endif}