Hi! On Sun, Jan 29, 2023 at 04:48:04PM +0100, Alejandro Colomar wrote: > On 1/28/23 15:17, наб wrote: > > This is in many ways a followup to the patchset that originally added > > the BUGS sexion to timespec.3type, root msgid of > > <ec1dcc655184f6cdaae40ff8b7970b750434e4ef.1638123425.git.nabijaczleweli@xxxxxxxxxxxxxxxxxx> > > > > For ease of reference, n3066: > > https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3066.pdf > > and the relevant part of n3091 (screenshot, it's a .doc): > > https://cohost.org/nabijaczleweli/post/922578-pog-pog > What happened in the end with nsec_t? Was it rejected, or are they still > considering it? n3066 (p1) was accepted, and it had nsec_t purged from n2878; according to my archive, that's because "nsec_t is only reserved in POSIX, not in C", so introducing it would be a breaking change, and it really doesn't matter (and even my patience for standards processes is limited, especially when multiple Austin Group liaisons choose to die when you want something from them). > > diff --git a/man3type/timespec.3type b/man3type/timespec.3type > > index 7cd80ce86..ca5533814 100644 > > --- a/man3type/timespec.3type > > +++ b/man3type/timespec.3type > > @@ -16,14 +16,27 @@ Standard C library > > .PP > > .B struct timespec { > > .BR " time_t tv_sec;" " /* Seconds */" > > -.BR " long tv_nsec;" " /* Nanoseconds [" 0 ", " 999999999 "] */" > > +.BR " /*\(da*/ tv_nsec;" " /* Nanoseconds [" 0 ", " 999999999 "] */" > I'm tempted to merge this patch. It's sooo qute /*↓*/ > > Please use the digit separator \(aq for the big number. Applied. > > .SH STANDARDS > > C11 and later; > > POSIX.1-2001 and later. > > +Prior to C23 > A comma here? Sure. > > +.I tv_nsec > > +was > > +.IR long . > Please move this to a new VERSIONS sexion. Added. v2 with these notes and \(aqs in 3/3 in follow-up. Best, наб
Attachment:
signature.asc
Description: PGP signature