doc: mention strerror implementation details

This commit is contained in:
Fedor Indutny 2016-06-04 14:40:14 -04:00
parent 6bec46526b
commit 5fb3b729bb
1 changed files with 7 additions and 0 deletions

View File

@ -54,4 +54,11 @@ When closing leaf link in a chain:
by one
3. `close_cb` will be invoked upon close of all links in a chain
## uv_link_strerror()
Implementation of `uv_link_methods_t.strerror` MUST check that the passed error
was emitted by the `link` argument. If this is not the case -
`uv_link_strerror(link->parent, err)` MUST be called (in other words, call
MUST be propagated).
[0]: http://docs.libuv.org/en/v1.x/stream.html