From 79d44e403c15b1cfe08f317f17ad20f4814ae4c9 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Sat, 4 Jun 2016 16:11:09 -0400 Subject: docs: more notes about errors --- docs/implementation-guide.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/implementation-guide.md') 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 -- cgit 1.4.1-2-gfad0