Subject: Re: new TIODCDTIMESTAMP patch
To: Jonathan Stone <jonathan@dsg.stanford.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 04/20/1998 16:31:56
On Mon, 20 Apr 1998 16:38:58 -0700 (PDT)
Jonathan Stone <jonathan@DSG.Stanford.EDU> wrote:
> + case TIOCDCDTIMESTAMP:
> + com->sc_dcd_timestamping = 1;
> + *(struct timeval *)data = com->dcd_timestamp;
> + break;
On the first invocation, you get a bogus timestamp.
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939