1234567891011121314151617externalcaml_unix_error_of_code:int->Unix.error="caml_unix_error_of_code_2"leterror_of_errnoerrno=caml_unix_error_of_code(Signed.SInt.to_interrno)leterror_of_negcode=assert(code<0);caml_unix_error_of_code(-code)letreporterrnofnarg=raise(Unix.Unix_error(error_of_errnoerrno,fn,arg))(* For functions that return e.g. [-EINVAL] rather than using errno. *)letreport_negxfnarg=raise(Unix.Unix_error(error_of_negx,fn,arg))letignore(x,(_:Signed.SInt.t))=x