summaryrefslogtreecommitdiff
path: root/packages/base/libc/cerrno.inc
blob: 1a99ddf47440b1c0ba4a9de8021924dd53a1e08d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

{ 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}