On Thu, 01 Jul 2021 00:14:12 +0200, Ingo Schwarze wrote:

> I'm confused.  It seems i fail to find useconds_t in POSIX.
> I only see suseconds_t there, in <sys/types.h>, which must be signed,
> include [-1, 1000000], and not be wider than long.  Also, our manual
> says ualarm(3) is -xpg4.2.  That's basically -susv1, isn't it?
> So i would expect ualarm(3) to appear in modern POSIX, too.
> Was it deleted at some point?

Yes, it was removed in -susv4.

> I think it would be ideal for the manual page text to state
> which values can be used in a *portable* way.  If, for some reason,
> that is not desirable, then the main text should say which values
> can be used on OpenBSD, and STANDARDS should say that using values
> above XYZ is an extension.

The standard didn't ever specify things in that level of detail as
far as I can tell.

 - todd

Reply via email to