libuv/docs/src
Philippe Laferriere f1863dae6b unix,win: add uv_translate_sys_error() public API
uv_translate_sys_error() was a private function for Windows.
This commit adds an equivalent function on other platforms, and
exposes it as public API.

Exposing this is useful in scenarios where the application uses
both libuv functions and platform-specific system calls and wants
to report errors uniformly as libuv errors.

Fixes: https://github.com/libuv/libuv/issues/79
PR-URL: https://github.com/libuv/libuv/pull/1060
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
2016-10-16 17:47:42 -04:00
..
sphinx-plugins doc: add Sphinx plugin for generating links to man pages 2015-03-02 14:20:02 +01:00
static
async.rst doc: clarify how uv_async_send behaves 2015-01-07 14:01:16 +01:00
check.rst doc: add missing variable name 2015-07-10 09:22:00 +02:00
conf.py doc: add Sphinx plugin for generating links to man pages 2015-03-02 14:20:02 +01:00
design.rst docs: add some missing words 2015-04-28 22:36:33 +02:00
dll.rst doc: add uv_dlsym() return type 2015-09-02 09:58:55 +02:00
dns.rst doc: document uv_getnameinfo_t.{host|service} 2015-03-02 16:53:57 +01:00
errors.rst unix,win: add uv_translate_sys_error() public API 2016-10-16 17:47:42 -04:00
fs_event.rst doc: update docs with AIX related information 2016-06-02 10:21:15 -04:00
fs_poll.rst style: rename buf to buffer and len to size for consistency 2015-01-27 11:31:16 +01:00
fs.rst doc: document uv_fs_realpath caveats 2016-09-02 09:57:25 +02:00
handle.rst doc: add description of uv_handle_type 2016-09-22 01:50:09 +02:00
idle.rst doc: add missing variable name 2015-07-10 09:22:00 +02:00
index.rst doc: add section with version-checking macros and functions 2015-06-29 23:09:14 +02:00
loop.rst doc: clarify uv_loop_close() 2016-03-20 10:15:20 +01:00
migration_010_100.rst doc: fix spelling 2014-11-29 04:22:56 +01:00
misc.rst doc: update supported fields for uv_rusage_t 2016-09-11 17:04:39 -04:00
pipe.rst doc: add missing variable name 2015-07-10 09:22:00 +02:00
poll.rst test: fix POLLHDRUP related failures for AIX 2016-05-05 23:23:28 +02:00
prepare.rst
process.rst doc: add documentation for missing functions and structures 2014-10-01 09:23:09 +02:00
request.rst doc: fix typo 2015-09-04 09:41:35 +02:00
signal.rst doc: add missing variable name 2015-07-10 09:22:00 +02:00
stream.rst doc: note buffer lifetime requirements in uv_write 2016-10-09 13:00:09 -04:00
tcp.rst doc: fix confusing doc of uv_tcp_nodelay 2016-09-15 10:38:34 +02:00
threading.rst doc: adjust next version to 1.4.1 2015-02-24 20:44:02 +01:00
threadpool.rst doc: clarify that the thread pool primites are not thread safe 2015-02-26 11:35:01 +01:00
timer.rst doc: add reference to uv_update_time on uv_timer_start 2016-10-14 07:26:17 +02:00
tty.rst unix: open ttyname instead of /dev/tty 2016-04-01 11:13:22 +02:00
udp.rst doc: add missing variable name 2015-07-10 09:22:00 +02:00
version.rst doc: add section with version-checking macros and functions 2015-06-29 23:09:14 +02:00