Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 1999 01:17:09 -0400 (EDT)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        zul@pinto.unsyiah.ac.id (Zulkarnain)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: lastlog.h
Message-ID:  <199904060517.BAA25794@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <Pine.BSF.4.01.9904061124400.3406-100000@pinto.unsyiah.ac.id> from Zulkarnain at "Apr 6, 99 11:30:30 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Zulkarnain wrote,
> I need "lastlog.h" to compile a program.
> Any one know  where I can get it ??

Are you porting from a different UNIX flavor? See the man page for
'lastlog,'


UTMP(5)                   FreeBSD File Formats Manual                  UTMP(5)

NAME
     utmp, wtmp, lastlog - login records

SYNOPSIS
     #include <sys/types.h>
     #include <utmp.h>

.
.
.
           struct lastlog {
                   time_t  ll_time;
                   char    ll_line[UT_LINESIZE];
                   char    ll_host[UT_HOSTSIZE];
           };
.
.
.

The include files listed here are probably the ones you want.
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904060517.BAA25794>