summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 672df60)
raw | patch | inline | side by side (parent: 672df60)
author | Alexander Shiryaev <aixp@mail.ru> | |
Fri, 9 Mar 2018 10:33:45 +0000 (13:33 +0300) | ||
committer | Alexander Shiryaev <aixp@mail.ru> | |
Fri, 9 Mar 2018 10:33:45 +0000 (13:33 +0300) |
diff --git a/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ b/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ
index fb0cd79689a411ad278a461207d329f6297f137d..2532cd6e10cd5c0995847db5140089c57bcd0bb5 100644 (file)
PROCEDURE [ccall] write* (d: int; buf: PtrVoid; nbytes: size_t): ssize_t;
PROCEDURE [ccall] read* (d: int; buf: PtrVoid; nbytes: size_t): ssize_t;
PROCEDURE [ccall] close* (d: int): int;
- PROCEDURE [ccall] lseek* (d: int; offset: off_t; whence: int): off_t;
(* POSIX.1 *)
PROCEDURE [ccall] chmod* (path: PtrSTR; mode: mode_t): int;
index 45cc61e6d783cfe425fc4cdcca730669601f6c45..1d052c1825d38907f3c01df9a1c7bfbdb9136683 100644 (file)
_STAT_VER_LINUX* = 3;
TYPE
+ off64_t* = LONGINT;
+
(* Ubuntu 17.10 /usr/include/i386-linux-gnu/bits/types/sigval_t.h: *)
sigval_t* = RECORD [union]
sival_int*: int;
PROCEDURE [ccall] __xstat* (version: INTEGER; filename: PtrSTR; VAR buf: stat_t): INTEGER;
+ PROCEDURE [ccall] lseek64* (fd: int; offset: off64_t; whence: int): off64_t;
+
PROCEDURE [ccall] sigsetjmp* ["__sigsetjmp"] (VAR env: sigjmp_buf; savemask: int): int;
diff --git a/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom b/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom
index 519abd5261d2815b44cea3b57b822985a679186f..ebfac0eddaa087e40ad743e41c9439a37560a400 100644 (file)
(* POSIX.1 *)
PROCEDURE [ccall] stat* (path: PtrSTR; VAR sp: stat_t): int;
+ PROCEDURE [ccall] lseek* (d: int; offset: off_t; whence: int): off_t;
+
(* POSIX.1 *)
PROCEDURE [ccall] sigsetjmp* (VAR env: sigjmp_buf; savemask: int): int;