summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be7ee30)
raw | patch | inline | side by side (parent: be7ee30)
author | Alexander Shiryaev <aixp@mail.ru> | |
Fri, 9 Mar 2018 11:15:19 +0000 (14:15 +0300) | ||
committer | Alexander Shiryaev <aixp@mail.ru> | |
Fri, 9 Mar 2018 11:15:19 +0000 (14:15 +0300) |
BlackBox/_Linux_/Host/Mod/Files64.odc | [new file with mode: 0644] | patch | blob |
BlackBox/_Linux_/Lin/Mod/Libc.txt | patch | blob | history | |
BlackBox/_Linux_/Lin/Mod/gen-Libc/custom | patch | blob | history |
diff --git a/BlackBox/_Linux_/Host/Mod/Files64.odc b/BlackBox/_Linux_/Host/Mod/Files64.odc
new file mode 100644 (file)
index 0000000..69a9706
Binary files /dev/null and b/BlackBox/_Linux_/Host/Mod/Files64.odc differ
index 0000000..69a9706
Binary files /dev/null and b/BlackBox/_Linux_/Host/Mod/Files64.odc differ
index b410fd8db944327c5d31436ee2d2d7226fca796c..d76a3b03034e3649b078b74fda3538b7c49dabf3 100644 (file)
TYPE
off64_t* = LONGINT;
+ blkcnt64_t* = LONGINT;
+ ino64_t* = LONGINT;
+
+ (* Ubuntu 18.04 /usr/include/i386-linux-gnu/bits/stat.h: *)
+ stat64_t* = RECORD [untagged]
+ st_dev*: dev_t;
+ __pad1: int; (* unsigned int *)
+ __st_ino: ino_t;
+ st_mode*: mode_t;
+ st_nlink*: nlink_t;
+ st_uid*: uid_t;
+ st_gid*: gid_t;
+ st_rdev*: dev_t;
+ __pad2: int; (* unsigned int *)
+ st_size*: off64_t;
+ st_blksize*: blksize_t;
+ st_blocks*: blkcnt64_t;
+ st_atim*: timespec_t;
+ st_mtim*: timespec_t;
+ st_ctim*: timespec_t;
+ st_ino*: ino64_t;
+ END;
(* Ubuntu 17.10 /usr/include/i386-linux-gnu/bits/types/sigval_t.h: *)
sigval_t* = RECORD [union]
stdin*, stdout*, stderr* : PtrFILE;
*)
- PROCEDURE [ccall] __errno_location*(): INTEGER;
+ PROCEDURE [ccall] __errno_location*(): PtrVoid;
- PROCEDURE [ccall] __xstat* (version: INTEGER; filename: PtrSTR; VAR buf: stat_t): INTEGER;
+ PROCEDURE [ccall] __xstat* (version: int; filename: PtrSTR; VAR buf: stat_t): int;
+ PROCEDURE [ccall] __xstat64* (version: int; filename: PtrSTR; VAR buf: stat64_t): int;
PROCEDURE [ccall] lseek64* (fd: int; offset: off64_t; whence: int): off64_t;
index 1d052c1825d38907f3c01df9a1c7bfbdb9136683..58e2ec62f94c8d011a9e34790fca6a78413367b7 100644 (file)
TYPE
off64_t* = LONGINT;
+ blkcnt64_t* = LONGINT;
+ ino64_t* = LONGINT;
+
+ (* Ubuntu 18.04 /usr/include/i386-linux-gnu/bits/stat.h: *)
+ stat64_t* = RECORD [untagged]
+ st_dev*: dev_t;
+ __pad1: int; (* unsigned int *)
+ __st_ino: ino_t;
+ st_mode*: mode_t;
+ st_nlink*: nlink_t;
+ st_uid*: uid_t;
+ st_gid*: gid_t;
+ st_rdev*: dev_t;
+ __pad2: int; (* unsigned int *)
+ st_size*: off64_t;
+ st_blksize*: blksize_t;
+ st_blocks*: blkcnt64_t;
+ st_atim*: timespec_t;
+ st_mtim*: timespec_t;
+ st_ctim*: timespec_t;
+ st_ino*: ino64_t;
+ END;
(* Ubuntu 17.10 /usr/include/i386-linux-gnu/bits/types/sigval_t.h: *)
sigval_t* = RECORD [union]
stdin*, stdout*, stderr* : PtrFILE;
*)
- PROCEDURE [ccall] __errno_location*(): INTEGER;
+ PROCEDURE [ccall] __errno_location*(): PtrVoid;
- PROCEDURE [ccall] __xstat* (version: INTEGER; filename: PtrSTR; VAR buf: stat_t): INTEGER;
+ PROCEDURE [ccall] __xstat* (version: int; filename: PtrSTR; VAR buf: stat_t): int;
+ PROCEDURE [ccall] __xstat64* (version: int; filename: PtrSTR; VAR buf: stat64_t): int;
PROCEDURE [ccall] lseek64* (fd: int; offset: off64_t; whence: int): off64_t;