summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 979ad49)
raw | patch | inline | side by side (parent: 979ad49)
author | Alexander Shiryaev <aixp@mail.ru> | |
Wed, 17 Jan 2018 07:00:19 +0000 (10:00 +0300) | ||
committer | Alexander Shiryaev <aixp@mail.ru> | |
Wed, 17 Jan 2018 07:00:19 +0000 (10:00 +0300) |
diff --git a/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ b/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ
index 08993f4d271bb429e30430c076c7497df8788300..f694b5ed30f2ffd8296ec080bb2dbec21f432330 100644 (file)
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;
+
(* POSIX.1 *)
PROCEDURE [ccall] sysconf* (name: int): long;
- PROCEDURE [ccall] system* (cmd: PtrSTR): INTEGER;
- PROCEDURE [ccall] popen* (cmd, mode: PtrSTR): INTEGER;
+ (* POSIX.2 *)
+ PROCEDURE [ccall] system* (string: PtrSTR): int;
+ PROCEDURE [ccall] popen* (command, type: PtrSTR): PtrFILE;
+ PROCEDURE [ccall] pclose* (stream: PtrFILE): int;
END LinLibc.
index d05f602407183caa5fe10ef1403499aa79fa5ced..d9691eee2997bea8aff61fa5056e7b5febe59dff 100644 (file)
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;
+
(* POSIX.1 *)
PROCEDURE [ccall] sysconf* (name: int): long;
- PROCEDURE [ccall] system* (cmd: PtrSTR): INTEGER;
- PROCEDURE [ccall] popen* (cmd, mode: PtrSTR): INTEGER;
+ (* POSIX.2 *)
+ PROCEDURE [ccall] system* (string: PtrSTR): int;
+
+ PROCEDURE [ccall] popen* (command, type: PtrSTR): PtrFILE;
+ PROCEDURE [ccall] pclose* (stream: PtrFILE): int;
END LinLibc.
index 4ce115e97e4c7e21bb0cabaa47476606bc0cc378..cc50740aff03317e639a6e0e238b94da565604f8 100644 (file)
Binary files a/BlackBox/_Linux_/Lin/Mod/Libc.odc and b/BlackBox/_Linux_/Lin/Mod/Libc.odc differ
Binary files a/BlackBox/_Linux_/Lin/Mod/Libc.odc and b/BlackBox/_Linux_/Lin/Mod/Libc.odc differ
index 51748f91d6d45faf74b0b1a3d613117305c31594..283989c4ae7c37d6a5e7a25553f340c7cf3ab0db 100644 (file)
\r
PROCEDURE [ccall] sigprocmask* (how: INTEGER; set: Ptrsigset_t; oldset: Ptrsigset_t): INTEGER;\r
\r
- PROCEDURE [ccall] system* (cmd: PtrSTR): INTEGER;\r
- PROCEDURE [ccall] popen* (cmd, mode: PtrSTR): INTEGER;\r
+ PROCEDURE [ccall] system* (string: PtrSTR): INTEGER;\r
+\r
+ PROCEDURE [ccall] popen* (command, type: PtrSTR): PtrFILE;\r
+ PROCEDURE [ccall] pclose* (stream: PtrFILE): INTEGER;\r
\r
END LinLibc.\r
index b8b2d0d79dd1d7b4322bc366ff2ce9d10f286c38..8d597af444d398dbfc9e6a76ed9f46c7c3b62a1b 100644 (file)
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;
+
(* POSIX.1 *)
PROCEDURE [ccall] sysconf* (name: int): long;
- PROCEDURE [ccall] system* (cmd: PtrSTR): INTEGER;
- PROCEDURE [ccall] popen* (cmd, mode: PtrSTR): INTEGER;
+ (* POSIX.2 *)
+ PROCEDURE [ccall] system* (string: PtrSTR): int;
+
+ PROCEDURE [ccall] popen* (command, type: PtrSTR): PtrFILE;
+ PROCEDURE [ccall] pclose* (stream: PtrFILE): int;
END LinLibc.
index 30427061b92a804a4975af6d0f3b421f47edb742..21af521a5b2ee4e3fecd49f582b1f487f8a703c8 100755 (executable)
Binary files a/BlackBox/_OpenBSD_/blackbox and b/BlackBox/_OpenBSD_/blackbox differ
Binary files a/BlackBox/_OpenBSD_/blackbox and b/BlackBox/_OpenBSD_/blackbox differ
index e9c815738dbeb71d2b7f8b6d32ec0f73383b2e1c..44bc02b68737fba32cdb794f59a87f0854b382a3 100755 (executable)
Binary files a/BlackBox/_OpenBSD_/dev0 and b/BlackBox/_OpenBSD_/dev0 differ
Binary files a/BlackBox/_OpenBSD_/dev0 and b/BlackBox/_OpenBSD_/dev0 differ