From: Alexander Shiryaev Date: Wed, 17 Jan 2018 07:26:53 +0000 (+0300) Subject: fchmod added X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=ec6d9e2f93d6f6d6638260962fea572ca80e328e;p=bbcp.git fchmod added --- diff --git a/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ b/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ index f694b5e..dbcef0c 100644 --- a/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ +++ b/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ @@ -222,6 +222,7 @@ MODULE LinLibc ["libc.so%%libver%%"]; (* POSIX.1 *) PROCEDURE [ccall] chmod* (path: PtrSTR; mode: mode_t): int; + PROCEDURE [ccall] fchmod* (fd: int; mode: mode_t): int; (* POSIX.1 *) PROCEDURE [ccall] sysconf* (name: int): long; diff --git a/BlackBox/_FreeBSD_/Lin/Mod/Libc.txt b/BlackBox/_FreeBSD_/Lin/Mod/Libc.txt index d9691ee..85e53d1 100644 --- a/BlackBox/_FreeBSD_/Lin/Mod/Libc.txt +++ b/BlackBox/_FreeBSD_/Lin/Mod/Libc.txt @@ -690,6 +690,7 @@ MODULE LinLibc ["libc.so.7"]; (* POSIX.1 *) PROCEDURE [ccall] chmod* (path: PtrSTR; mode: mode_t): int; + PROCEDURE [ccall] fchmod* (fd: int; mode: mode_t): int; (* POSIX.1 *) PROCEDURE [ccall] sysconf* (name: int): long; diff --git a/BlackBox/_Linux_/Lin/Mod/Libc.odc b/BlackBox/_Linux_/Lin/Mod/Libc.odc index cc50740..ed69804 100644 Binary files a/BlackBox/_Linux_/Lin/Mod/Libc.odc and b/BlackBox/_Linux_/Lin/Mod/Libc.odc differ diff --git a/BlackBox/_Linux_/Lin/Mod/Libc.txt b/BlackBox/_Linux_/Lin/Mod/Libc.txt index 283989c..577df71 100644 --- a/BlackBox/_Linux_/Lin/Mod/Libc.txt +++ b/BlackBox/_Linux_/Lin/Mod/Libc.txt @@ -408,6 +408,7 @@ MODULE LinLibc ["libc.so.6"]; PROCEDURE [ccall] clock* (): clock_t; PROCEDURE [ccall] closedir* (dir: PtrDIR): INTEGER; PROCEDURE [ccall] chmod* (path: PtrSTR; mode: mode_t): INTEGER; + PROCEDURE [ccall] fchmod* (fd: INTEGER; mode: mode_t): INTEGER; PROCEDURE [ccall] exit* (status: INTEGER); PROCEDURE [ccall] fclose* (fp: PtrFILE): INTEGER; PROCEDURE [ccall] fflush* (fp: PtrFILE): INTEGER; diff --git a/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt b/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt index 8d597af..37fee0f 100644 --- a/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt +++ b/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt @@ -690,6 +690,7 @@ MODULE LinLibc ["libc.so.90.0"]; (* POSIX.1 *) PROCEDURE [ccall] chmod* (path: PtrSTR; mode: mode_t): int; + PROCEDURE [ccall] fchmod* (fd: int; mode: mode_t): int; (* POSIX.1 *) PROCEDURE [ccall] sysconf* (name: int): long;