1 (*
2 VAR
3 (* OpenBSD: stdin, stdout, stderr *)
4 __sF*: ARRAY [untagged] 3 OF FILE; (* OpenBSD 5.8 /usr/include/stdio.h *)
5 (*
6 stdin = SYSTEM.ADR(__sF[0])
7 stdout = SYSTEM.ADR(__sF[1])
8 stderr = SYSTEM.ADR(__sF[2])
9 *)
10 *)
12 PROCEDURE [ccall] __errno_location* ["__errno"] (): PtrVoid;
14 (* POSIX.1 *)
15 PROCEDURE [ccall] stat* (path: PtrSTR; VAR sp: stat_t): int;
17 PROCEDURE [ccall] lseek* (d: int; offset: off_t; whence: int): off_t;
19 (* POSIX.1 *)
20 PROCEDURE [ccall] sigsetjmp* (VAR env: sigjmp_buf; savemask: int): int;