Module
Module documentation.
moduleaio
Classes
Classes and inheritance.
Functions
Free functions and class methods.
functionaio::error_code_from_int_result
Signature
func error_code_from_int_result(v: Int) -> ErrCodefunc error_code_from_int_result(v: Int) -> ErrCode {
if v >= 0 {
return std.OK;@briefProvides the system library operation `error_code_from_int_result`.
@detailsExecutes the `error_code_from_int_result` system-library API. The documented parameters define the accepted inputs, ownership requirements, range limits, and timeout behavior for this call. Callers must check returned `ErrCode` values or boolean status values before using the result.
@param
- vValue argument consumed, stored, encoded, compared, or forwarded by this API.
@returnReturns `ErrCode`; on success the error code is `std.OK` or `OK`, and on failure the error code describes the failure while any returned value contains the usable partial result when available.
Variables
Class fields (var).