Re: [PATCH] LinuxPPS (with new syscalls API) - new version

Rodolfo Giometti
2007-07-11T16:32:12Z

On Wed, Jul 11, 2007 at 11:22:38AM -0400, Lennart Sorensen wrote:
> On Wed, Jul 11, 2007 at 10:06:34AM +0200, Rodolfo Giometti wrote:
> > My question is: how can I fit a 64 bits number of seconds into
> > timespec structure which, for 32 bits architetures, has a 32 bits bits
> > number of seconds?
>
> I imagine you can't. I have no idea if there are any intensions to
> change the definition of timespec on 32bit architectures, or if the
> thought is that they will all be dead before it becomes a problem. :)
>
> I still think the API you define for PPS should support 64bit seconds,
> even if on some systems you can't take advantage of it.

So on 32 bits systems I simply drop the high part of the second
data... is that right?

Ciao,

Rodolfo