38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
case k_platform_error_EAGAIN: return kiocond_poll;
case k_platform_error_EFBIG: return kiocond_fail_too_big;
case k_platform_error_EINTR: return kiocond_interrupt;
case k_platform_error_EDESTADDRREQ: return kiocond_fail_no_peer;
default: return kiocond_fail;
}
# else
# if KVos == win
# error windows IO send function not yet defined
# else
Knoimpl(kiosend,KVos);
# error missing implementation // boring error for plebs
# endif
# endif
if (len != null) *len = size;
return kiocond_ok;
}
|
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
case k_platform_error_EAGAIN: return kiocond_poll;
case k_platform_error_EFBIG: return kiocond_fail_too_big;
case k_platform_error_EINTR: return kiocond_interrupt;
case k_platform_error_EDESTADDRREQ: return kiocond_fail_no_peer;
default: return kiocond_fail;
}
# else
Knoimpl(kiosend,KVos);
# error missing implementation // boring error for plebs
# endif
if (len != null) *len = size;
return kiocond_ok;
}
|