lkml.org 
[lkml]   [1999]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: slightly off-topic trivia probe
[quoted lines by Tim Walberg on October 29, 1999, at 11:26]

>and can't seem
>to find any information on the significance of the tv_usec
>field in struct utmp.ut_tv.

utmp.ut_tv contains the time, as returned by gettimeofday(2), at which the
entry was created. This field is of type struct timeval, which contains two
fields: tv_sec and tv_usec. tv_sec contains the number of seconds since the
beginning of 1970 (GMT), and tv_usec contains the number of micro-seconds into
the second. The two together give a very precise timestamp for the entry.

--
Dave Mielke | 856 Grenon Avenue | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me
EMail: dave@mielke.cc | Canada K2B 6G3 | if you're concerned about Hell.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.994 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site