On Sat, 3 Aug 2019 at 12:05, Ben Noordhuis <i...@bnoordhuis.nl> wrote:
> -1 corresponds to UV_EPERM on most platforms.
>
> If your assumption is that because the type is ssize_t it can only be
> >= -1, that's mistaken. Hope that helps!

What is mistaken? All references I read about ssize_t say that it's
supposed to be >= -1:

For instance, 
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html:

> The type ssize_t shall be capable of storing values at least in the range 
> [-1, {SSIZE_MAX}].


-- 
Iñaki Baz Castillo
<i...@aliax.net>

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to libuv+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/libuv/CALiegf%3DpNZBGFFHAf6jfxC%2BRCS9dPa67f3ti3OR-z95%2B_Ba1dQ%40mail.gmail.com.

Reply via email to