diff --git a/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ b/BlackBox/_FreeBSDLinuxOpenBSD_/Lin/Mod/gen-Libc/Libc.txt.templ
index dbcef0cc5b899da1c0a6426b8d513c81849fae5c..3e156fd12fe7f345a22f5538aae7f8e8133adcc1 100644 (file)
(* ENOENT, EEXIST, EACCES, ENOMEM, EDQUOT, EMFILE, ENOTDIR (int) *)
%%defs-errno%%
+%%defs-wait%%
+
NAME_MAX* = %%namemax%%;
SEEK_SET* = 0;
PROCEDURE [ccall] fchmod* (fd: int; mode: mode_t): int;
(* POSIX.1 *)
- PROCEDURE [ccall] sysconf* (name: int): long;
+ PROCEDURE [ccall] fork* (): pid_t;
+ PROCEDURE [ccall] waitpid* (wpid: pid_t; VAR [nil] status: int; options: intFlags): pid_t;
+
+ (* POSIX.1 *)
+ PROCEDURE [ccall] execv* (path: PtrSTR; argv: POINTER [untagged] TO ARRAY [untagged] OF PtrSTR): int;
+ PROCEDURE [ccall] execvp* (file: PtrSTR; argv: POINTER [untagged] TO ARRAY [untagged] OF PtrSTR): int;
(* POSIX.2 *)
PROCEDURE [ccall] system* (string: PtrSTR): int;
+ (* POSIX.1 *)
+ PROCEDURE [ccall] sysconf* (name: int): long;
+
PROCEDURE [ccall] popen* (command, type: PtrSTR): PtrFILE;
PROCEDURE [ccall] pclose* (stream: PtrFILE): int;