Steffen Nurpmeso dixit:
> 11709 XSI On XSI-conformant systems, the
> intptr_t and uintptr_t types are required; otherwise,
See. XSI is rare.
>So if you go POSIX
I don’t. POSIX is still not ubiquitous. Also, POSIX is an
ever-changing standard.
>use ssize_t with mksh
I use it because it’s there on all systems (except SunOS,
but on which it is trivially defined), not because some
standard may say it must be there.
When porting software, you must ignore standards and go
with whatever you have.
bye,
//mirabilos (not that I l̲i̲k̲e̲ POSIX anyway)
--
“It is inappropriate to require that a time represented as
seconds since the Epoch precisely represent the number of
seconds between the referenced time and the Epoch.”
-- IEEE Std 1003.1b-1993 (POSIX) Section B.2.2.2