more enforcement of ssize_t return types for better error checking
Merge pull request #124 from opentechinstitute/more-ssize_t

more enforcement of ssize_t return types for better error checking