• Mark Adler's avatar
    Avoid the need for ssize_t. · cca27e95
    Mark Adler authored
    Limit read() and write() requests to sizes that fit in an int.
    This allows storing the return value in an int, and avoiding the
    need to use or construct an ssize_t type. This is required for
    Microsoft C, whose _read and _write functions take an unsigned
    request and return an int.
    cca27e95