for this particular case `ssize_t` is better than `int` because it is a capacity.