Control: retitle -1 fix documentation of struct timespec' tv_nsec type

Adam Borowski [2017-04-23 23:41 +0200]:
> So no matter what we'd argue as being "correct", there's no changing the ABI
> of an architecture that was finalized 5 years ago.  Thus, all we can do is
> having GNU folks document this.

Yes, that's fine too. There's a similar ambiguity around time_t anyway.

> On your side, I'd do an explicit cast to (int) and "%d" -- even on amd64 the
> upper bits must always be 0 (or the kernel responds with -EINVAL).

That's more or less what I did in
https://github.com/cockpit-project/cockpit/pull/6374/files

Thanks,

Martin

Reply via email to