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

Former-commit-id: 1355629f90
This commit is contained in:
Norayr Chilingarian 2013-11-05 15:49:47 +04:00
parent 386fe21fec
commit 2f80f5c8a7
7 changed files with 9 additions and 8 deletions

BIN
ocat

Binary file not shown.

View file

@ -1 +1 @@
e6a78d19b6e13839d6485283fe4f91d9ae3f4fea dbf175b1d1b9396c2486f2b84a751ccf93c6e8d6

View file

@ -206,9 +206,10 @@ typedef struct
Status* = RECORD (* struct stat *) Status* = RECORD (* struct stat *)
dev* : LONGINT; (* dev_t 8 *) dev* : LONGINT; (* dev_t 8 *)
ino* : LONGINT; (* ino 8 *) ino* : LONGINT; (* ino 8 *)
mode*(*nlink**) : LONGINT; nlink* : LONGINT;
nlink*(*mode**) : INTEGER; mode* : INTEGER;
uid*, gid*: INTEGER; uid*, gid*: INTEGER;
pad0* : INTEGER;
rdev* : LONGINT; rdev* : LONGINT;
size* : LONGINT; size* : LONGINT;
blksize* : LONGINT; blksize* : LONGINT;
@ -219,7 +220,7 @@ typedef struct
mtimensec* : LONGINT; mtimensec* : LONGINT;
ctime* : LONGINT; ctime* : LONGINT;
ctimensec* : LONGINT; ctimensec* : LONGINT;
unused4*, unused5*: LONGINT; unused0*, unused1*, unused2*: LONGINT;
END ; END ;
(* from /usr/include/bits/time.h (* from /usr/include/bits/time.h

View file

@ -103,7 +103,7 @@ TYPE pchar = POINTER TO ARRAY 1 OF CHAR;
d0 := Unix.Pipe(arg1); d0 := Unix.Pipe(arg1);
RETURN d0 >= 0; RETURN d0 >= 0;
ELSIF syscall = Sys.newstat THEN ELSIF syscall = Sys.newstat THEN
d0 := Unix.Stat(arg1, arg2); (*d0 := Unix.Stat(arg1, arg2);*)
RETURN d0 >= 0; RETURN d0 >= 0;
END END

View file

@ -1 +1 @@
e4550a2bd7746a485e16a2fb4c3c22b78aa830f6 3c118e5bfc1787c62523a8bb8274faa74779587b

View file

@ -1 +1 @@
e4550a2bd7746a485e16a2fb4c3c22b78aa830f6 3c118e5bfc1787c62523a8bb8274faa74779587b

View file

@ -1 +1 @@
e4550a2bd7746a485e16a2fb4c3c22b78aa830f6 3c118e5bfc1787c62523a8bb8274faa74779587b