Be consistent about size_t and ssize_t, the latter is better.