From: Alexander Shiryaev Date: Fri, 9 Mar 2018 10:37:49 +0000 (+0300) Subject: lseek X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=be7ee307df7c920ef65b461d8173e09ebafb8c60;p=bbcp.git lseek --- diff --git a/BlackBox/_Linux_/Lin/Mod/Libc.txt b/BlackBox/_Linux_/Lin/Mod/Libc.txt index c24a065..b410fd8 100644 --- a/BlackBox/_Linux_/Lin/Mod/Libc.txt +++ b/BlackBox/_Linux_/Lin/Mod/Libc.txt @@ -516,6 +516,8 @@ MODULE LinLibc ["libc.so.6"]; _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; @@ -552,6 +554,8 @@ MODULE LinLibc ["libc.so.6"]; 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; @@ -639,7 +643,6 @@ MODULE LinLibc ["libc.so.6"]; 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;