io: Add run‐time assertions
io: Include <limits.h> for SSIZE_MAX
error: Add run‐time assertions