X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=BlackBox%2F_OpenBSD_%2FLin%2FMod%2Fgen-Libc%2Fcustom;h=ebfac0eddaa087e40ad743e41c9439a37560a400;hb=09a405aace604f1b53acbd3e7db443bf5b0d591c;hp=e522bff399be383415deb500cc294e61048c305c;hpb=9a2b37ab5fec7ceee3e62651c14ef85e5d86542f;p=bbcp.git diff --git a/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom b/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom index e522bff..ebfac0e 100644 --- a/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom +++ b/BlackBox/_OpenBSD_/Lin/Mod/gen-Libc/custom @@ -1,13 +1,20 @@ +(* VAR (* OpenBSD: stdin, stdout, stderr *) - __sF*: ARRAY [untagged] 3 OF FILE; (* OpenBSD 5.2 /usr/include/stdio.h *) + __sF*: ARRAY [untagged] 3 OF FILE; (* OpenBSD 5.8 /usr/include/stdio.h *) (* stdin = SYSTEM.ADR(__sF[0]) stdout = SYSTEM.ADR(__sF[1]) stderr = SYSTEM.ADR(__sF[2]) *) +*) PROCEDURE [ccall] __errno_location* ["__errno"] (): PtrVoid; (* POSIX.1 *) PROCEDURE [ccall] stat* (path: PtrSTR; VAR sp: stat_t): int; + + PROCEDURE [ccall] lseek* (d: int; offset: off_t; whence: int): off_t; + + (* POSIX.1 *) + PROCEDURE [ccall] sigsetjmp* (VAR env: sigjmp_buf; savemask: int): int;