X-Git-Url: http://deadsoftware.ru/gitweb?p=bbcp.git;a=blobdiff_plain;f=BlackBox%2F_OpenBSD_%2FLin%2FMod%2FLibc.txt;h=aa872b6ca46038a7ca9d3ebdd8097f466df4a490;hp=37fee0fb597098f48d2013a53dbc54bc45de3748;hb=4fafe12bb092834966700b01b6b9e4a3f0f44ec2;hpb=ec6d9e2f93d6f6d6638260962fea572ca80e328e diff --git a/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt b/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt index 37fee0f..aa872b6 100644 --- a/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt +++ b/BlackBox/_OpenBSD_/Lin/Mod/Libc.txt @@ -1,7 +1,7 @@ -MODULE LinLibc ["libc.so.90.0"]; +MODULE LinLibc ["libc.so.90"]; (* - OpenBSD 6.0 + OpenBSD 6.2 i386 *) @@ -303,6 +303,10 @@ MODULE LinLibc ["libc.so.90.0"]; EIDRM* = 89; (* Identifier removed *) ENOMSG* = 90; (* No message of desired type *) ENOTSUP* = 91; (* Not supported *) + EBADMSG* = 92; (* Bad message *) + ENOTRECOVERABLE* = 93; (* State not recoverable *) + EOWNERDEAD* = 94; (* Previous owner died *) + EPROTO* = 95; (* Protocol error *) ENOTBLK* = 15; (* Block device required *) ESOCKTNOSUPPORT* = 44; (* Socket type not supported *) EPFNOSUPPORT* = 46; (* Protocol family not supported *) @@ -324,11 +328,18 @@ MODULE LinLibc ["libc.so.90.0"]; ENOATTR* = 83; (* Attribute not found *) ENOMEDIUM* = 85; (* No medium found *) EMEDIUMTYPE* = 86; (* Wrong medium type *) - ELAST* = 91; (* Must be equal largest errno *) + ELAST* = 95; (* Must be equal largest errno *) ERESTART* = -1; (* restart syscall *) EJUSTRETURN* = -2; (* don't modify regs, just return *) + WAIT_ANY* = -1; (* any process *) + WAIT_MYPGRP* = 0; (* any process in my process group *) + WCONTINUED* = {3}; (* report a job control continued process *) + WNOHANG* = {0}; (* don't hang in wait *) + WUNTRACED* = {1}; (* tell about stopped, untraced children *) + + NAME_MAX* = 255; SEEK_SET* = 0; @@ -693,11 +704,19 @@ MODULE LinLibc ["libc.so.90.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;