Actually, would anyone mind if I removed the conversions between tai_t and struct time(val|spec) ? They're a waste of space: either you're interested in subseconds and you're converting between tain_t and struct time(val|spec), or you're not and you're converting between tai_t and time_t.
It's easy enough to perform the operation on tai_sec(a) or tv->tv_sec if you want to drop the subseconds, or to add a zero field if you want to create them. -- Laurent
