diff options
Diffstat (limited to 'docs/api.md')
-rw-r--r-- | docs/api.md | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/docs/api.md b/docs/api.md index b73a428..2d2877b 100644 --- a/docs/api.md +++ b/docs/api.md @@ -118,16 +118,6 @@ Invoke `shutdown` from the link's [`uv_link_methods_t`][]. Acts similarly to `uv_shutdown()`. `cb(uv_link_t* link, int status, void* arg)` is invoked on completion. -### const char* uv_link_strerror(...) - -* `uv_link_t* link` -* `int err` - error code, previously either returned the one of the - `uv_link...` methods or passed as a negative `nread` to `link->read_cb` - -Invoke `strerror` from the link's [`uv_link_methods_t`][]. Acts similarly to -`uv_strerror()`. Returns a description of error code that has just been given -back to the user. - ### void uv_link_propagate_alloc_cb(...) Should be used only by [`uv_link_methods_t`][] implementation. @@ -395,19 +385,6 @@ is passed only only for internal operation. *NOTE: semantics are the same as of `uv_close`.* -### .strerror - -```c -const char* (*strerror)(uv_link_t* link, int err); -``` - -Invoked by [`uv_link_strerror()`][]. - -Should return a description string of the `err`, or propagate call to the -`link->parent` if the error wasn't emitted by the current `link`. - -*NOTE: semantics are the same as of `uv_strerror`.* - ### .alloc_cb_override A method used to override that value of [`uv_link_t.alloc_cb`][] by @@ -491,7 +468,6 @@ Invoked by `uv_link_propagate_read_cb`. MUST not manage the data in `buf`. [`uv_link_chain()`]: #int-uv_link_chain [`uv_link_close()`]: #void-uv_link_close -[`uv_link_strerror()`]: #const-char-uv_link_strerror [`uv_link_init()`]: #int-uv_link_init [`uv_link_methods_t`]: #uv_link_methods_t [`uv_link_observer_t.observer_read_cb`]: #observer_read_cb |