ref: c08505fb46fd8cdfee6b6f425709e5bc536f6a75
dir: /lib/std/syswrap-ss+openbsd.myr/
use sys
use "errno.use"
use "cstrconv.use"
use "slcp.use"
use "die.use"
pkg std =
$noret const exit : (status:int -> void)
pkglocal const bgetcwd : (buf : byte[:] -> errno)
;;
const exit = {status; sys.exit(status)}
const bgetcwd = {buf
-> (sys.__getcwd(buf) - 1) castto(errno)
}