Re: [PATCH 0/2] Document size_t

Florian Weimer
2020-09-18T21:32:41Z

* Alejandro Colomar:

>>> In the See also, I just put a few important pages.
>>> Maybe you want to include a few more.
>> I added read(2) and write(2).
>
> Fine. I didn't remember their arguments are 'size_t'. I was under
> the idea that they used 'ssize_t'.

The outliers are readv and writev, which use int for the array length
argument (at least in POSIX).

Thanks,
Florian
--
Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'Neill