more enforcement of ssize_t return types for better error checking