import public System.Posix.Errno.Type
import public Data.Linear.ELift10 EPrim : Type -> TypetoBool : Bits8 -> BoolConverts 0 to `False`, everything else to `True`
fromNeg : Neg n => Cast n Bits32 => n -> ErrnoConverts a negative number to a system error.
primMap : (a -> b) -> PrimIO a -> PrimIO belinMap : (a -> b) -> E1 s es a -> E1 s es btoVal : (CInt -> a) -> PrimIO CInt -> EPrim atoSize : PrimIO SsizeT -> EPrim Bits32toUnit : PrimIO CInt -> EPrim ()toPidT : PrimIO PidT -> EPrim PidTposToUnit : PrimIO Bits32 -> EPrim ()posNotErr : Errno -> PrimIO Bits32 -> EPrim BooltoRes : PrimIO a -> PrimIO CInt -> EPrim aignore : E1 World es a -> PrimIO ()freeFail : Struct f => f World -> Errno -> EPrim bfinally : PrimIO () -> EPrim a -> EPrim aprimStruct : (0 f : (Type -> Type)) -> Struct f => SizeOf (f World) => F1 World (f World)withStruct : (0 f : (Type -> Type)) -> Struct f => SizeOf (f World) => (f World -> EPrim b) -> EPrim bwithBox : (0 a : Type) -> SizeOf a => Deref a => (IOBox a -> EPrim b) -> EPrim bwithPtr : Bits32 -> (AnyPtr -> EPrim b) -> EPrim bwithCArray : (0 a : Type) -> SizeOf a => (n : Nat) -> (CArrayIO n a -> EPrim b) -> EPrim bprimTraverse_ : (a -> PrimIO ()) -> List a -> PrimIO ()filterM : SnocList a -> (a -> F1 rs Bool) -> List a -> F1 rs (List a)values : Deref b => SizeOf b => List c -> CArray s n b -> (b -> F1 s c) -> (k : Nat) -> {auto 0 _ : LTE k n} -> F1 s (List c)structs : Struct f => SizeOf (f s) => List c -> CArray s n (f s) -> (f s -> F1 s c) -> (k : Nat) -> {auto 0 _ : LTE k n} -> F1 s (List c)