In article <[EMAIL PROTECTED]>,
Ayan George  <[EMAIL PROTECTED]> wrote:
> 
> What seems strange is that they use the different data types to
> store the same information (the time):
> 
>          struct lastlog {
>                  time_t  ll_time;
>                  char    ll_line[UT_LINESIZE];
>                  char    ll_host[UT_HOSTSIZE];
>          };
> 
>          struct utmp {
>                  char    ut_line[UT_LINESIZE];
>                  char    ut_name[UT_NAMESIZE];
>                  char    ut_host[UT_HOSTSIZE];
>                  long    ut_time;
>          };
> 
> Not that there is any _real_ difference between long and time_t,

On the Alpha, a long is 64 bits but a time_t is 32 bits.

John
-- 
  John Polstra                                               [EMAIL PROTECTED]
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "No matter how cynical I get, I just can't keep up."        -- Nora Ephron


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to