From: Alexander Shiryaev Date: Tue, 4 Dec 2012 23:53:40 +0000 (+0400) Subject: lseek added X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=4dd530712ea3b6d3c61b6f3d03174cceb3c9e655;p=bbcp.git lseek added --- diff --git a/new/_FreeBSDLinuxOpenBSD_/Lin/Rsrc/Mod/gen-Libc/Libc.txt.templ b/new/_FreeBSDLinuxOpenBSD_/Lin/Rsrc/Mod/gen-Libc/Libc.txt.templ index 656eca1..a0b6d6b 100644 --- a/new/_FreeBSDLinuxOpenBSD_/Lin/Rsrc/Mod/gen-Libc/Libc.txt.templ +++ b/new/_FreeBSDLinuxOpenBSD_/Lin/Rsrc/Mod/gen-Libc/Libc.txt.templ @@ -204,6 +204,7 @@ MODULE LinLibc ["libc.so%%libver%%"]; 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] sysconf* (name: int): long; diff --git a/new/_OpenBSD_/Lin/Mod/Libc.txt b/new/_OpenBSD_/Lin/Mod/Libc.txt index 325b6fd..a447b27 100644 --- a/new/_OpenBSD_/Lin/Mod/Libc.txt +++ b/new/_OpenBSD_/Lin/Mod/Libc.txt @@ -667,6 +667,7 @@ MODULE LinLibc ["libc.so.66.0"]; 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] sysconf* (name: int): long; diff --git a/new/_OpenBSD_/libBB.so b/new/_OpenBSD_/libBB.so index f94b31e..33298ef 100644 Binary files a/new/_OpenBSD_/libBB.so and b/new/_OpenBSD_/libBB.so differ diff --git a/new/_OpenBSD_/libBB0.so b/new/_OpenBSD_/libBB0.so index d0a5aaf..777e969 100644 Binary files a/new/_OpenBSD_/libBB0.so and b/new/_OpenBSD_/libBB0.so differ