diff options
author | Fedor Indutny <fedor@indutny.com> | 2016-06-04 16:11:09 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2016-06-04 16:11:09 -0400 |
commit | 79d44e403c15b1cfe08f317f17ad20f4814ae4c9 (patch) | |
tree | 711000ab6131429384189c21ccdd96e06b89dce0 /docs/implementation-guide.md | |
parent | b03d9a4c2fb07c96db6383b006ec205045efccdd (diff) | |
download | uv_link_t-79d44e403c15b1cfe08f317f17ad20f4814ae4c9.tar.gz |
docs: more notes about errors
Diffstat (limited to 'docs/implementation-guide.md')
-rw-r--r-- | docs/implementation-guide.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/implementation-guide.md b/docs/implementation-guide.md index 65fb8fe..88d53ac 100644 --- a/docs/implementation-guide.md +++ b/docs/implementation-guide.md @@ -7,6 +7,11 @@ MUST conform to this semantics. All error codes MUST be negative and be less than `UV_ERRNO_MAX`. +* `UV_ENOSYS` SHOULD be returned if the particular method (e.g. `shutdown` or + `try_write`) +* `UV_EAGAIN` MUST be returned by `uv_link_methods_t.try_write` if the write + could not be completed at the moment + ## uv_link_init() Links start in non-reading mode, `alloc_cb`/`read_cb` MUST NOT be called until |