mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 08:42:24 +00:00
Unix.Mod modified, synced with output of cpp /usr/include/asm/stat.h
Former-commit-id: 1355629f90
This commit is contained in:
parent
386fe21fec
commit
2f80f5c8a7
7 changed files with 9 additions and 8 deletions
BIN
ocat
BIN
ocat
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
e6a78d19b6e13839d6485283fe4f91d9ae3f4fea
|
||||
dbf175b1d1b9396c2486f2b84a751ccf93c6e8d6
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
e4550a2bd7746a485e16a2fb4c3c22b78aa830f6
|
||||
3c118e5bfc1787c62523a8bb8274faa74779587b
|
||||
|
|
@ -1 +1 @@
|
|||
e4550a2bd7746a485e16a2fb4c3c22b78aa830f6
|
||||
3c118e5bfc1787c62523a8bb8274faa74779587b
|
||||
|
|
@ -1 +1 @@
|
|||
e4550a2bd7746a485e16a2fb4c3c22b78aa830f6
|
||||
3c118e5bfc1787c62523a8bb8274faa74779587b
|
||||
Loading…
Add table
Add a link
Reference in a new issue