> + ret = nbytes; ret is an int which bytes is a size_t. So we at least need a ssize_t instead for ret, and even that assumes nbytes never overflows a ssize_t.
> + ret = nbytes; ret is an int which bytes is a size_t. So we at least need a ssize_t instead for ret, and even that assumes nbytes never overflows a ssize_t.