[PATCH] sys/types.h: Define new types: [s]nseconds_t
наб
nabijaczleweli@nabijaczleweli.xyz
Tue Dec 7 21:48:12 GMT 2021
On Tue, Dec 07, 2021 at 07:20:07PM +0100, Alejandro Colomar (man-pages) wrote:
> As Zack suggested, an unsigned version is probably unnecessary, so I'll use
> nsec_t for the patches, as you used in your draft. I like short names, and
> also signed types.
Great, this, if lands, will give glibc free compatibility with C2X.
> On 12/7/21 14:17, наб wrote:
> > You can find my current draft:
> > https://srhtcdn.githack.com/~nabijaczleweli/wg14/blob/868d3e096db0fe4378d77cd67215bed56045196d/N%3F%3F%3F%3F.pdf
> It looks good.
Thanks :0
> Would you mind sharing the source code of your pdf? I'm curious to learn to
> write those papers.
https://git.sr.ht/~nabijaczleweli/wg14/tree, but note that this is /far/
from a "good" or "normal" set-up ‒ most people use TeX,
and are proficient at it because they have a collegial education;
I started using groff -mom yesterday at 3am because I needed to make a
PDF and I'd remembered reading it was the strongest successor to -ms.
FTR: The PDF linked above was made at revision ee254af.
> Also, please CC me when you have any news on that :)
Will do.
> > accepting this would mean just a
> > typedef decltype(struct timespec::tv_nsec) nsec_t;
> > to make the implementation C2X conformant again.
> Hmm, not sure if it would be better for glibc to define nsec_t in terms of
> timespec, or the other way around. I had in mind something like the
> following:
I just meant that as an abstract short-hand form,
decomposing to roughly what you've out-lined below, yes.
Best,
наб
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20211207/be5473c1/attachment.sig>
More information about the Libc-alpha
mailing list