mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-05 23:22:25 +00:00
Unix.Mod modified, synced with output of cpp /usr/include/asm/stat.h
This commit is contained in:
parent
c9c82e0a97
commit
1355629f90
7 changed files with 5 additions and 4 deletions
BIN
ocat
BIN
ocat
Binary file not shown.
BIN
showdef
BIN
showdef
Binary file not shown.
|
|
@ -206,9 +206,10 @@ typedef struct
|
|||
Status* = RECORD (* struct stat *)
|
||||
dev* : LONGINT; (* dev_t 8 *)
|
||||
ino* : LONGINT; (* ino 8 *)
|
||||
mode*(*nlink**) : LONGINT;
|
||||
nlink*(*mode**) : INTEGER;
|
||||
nlink* : LONGINT;
|
||||
mode* : INTEGER;
|
||||
uid*, gid*: INTEGER;
|
||||
pad0* : INTEGER;
|
||||
rdev* : LONGINT;
|
||||
size* : LONGINT;
|
||||
blksize* : LONGINT;
|
||||
|
|
@ -219,7 +220,7 @@ typedef struct
|
|||
mtimensec* : LONGINT;
|
||||
ctime* : LONGINT;
|
||||
ctimensec* : LONGINT;
|
||||
unused4*, unused5*: LONGINT;
|
||||
unused0*, unused1*, unused2*: LONGINT;
|
||||
END ;
|
||||
|
||||
(* from /usr/include/bits/time.h
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ TYPE pchar = POINTER TO ARRAY 1 OF CHAR;
|
|||
d0 := Unix.Pipe(arg1);
|
||||
RETURN d0 >= 0;
|
||||
ELSIF syscall = Sys.newstat THEN
|
||||
d0 := Unix.Stat(arg1, arg2);
|
||||
(*d0 := Unix.Stat(arg1, arg2);*)
|
||||
RETURN d0 >= 0;
|
||||
END
|
||||
|
||||
|
|
|
|||
BIN
voc
BIN
voc
Binary file not shown.
BIN
vocstatic
BIN
vocstatic
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue