Unix.Mod modified, synced with output of cpp /usr/include/asm/stat.h

This commit is contained in:
Norayr Chilingarian 2013-11-05 15:49:47 +04:00
parent c9c82e0a97
commit 1355629f90
7 changed files with 5 additions and 4 deletions

BIN
ocat

Binary file not shown.

BIN
showdef

Binary file not shown.

View file

@ -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

View file

@ -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

Binary file not shown.

BIN
vocstatic

Binary file not shown.

Binary file not shown.