From owner-freebsd-questions Mon Apr 5 22:25:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 2117514C12 for ; Mon, 5 Apr 1999 22:25:42 -0700 (PDT) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.8.8) id BAA25794; Tue, 6 Apr 1999 01:17:09 -0400 (EDT) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <199904060517.BAA25794@cc942873-a.ewndsr1.nj.home.com> Subject: Re: lastlog.h In-Reply-To: from Zulkarnain at "Apr 6, 99 11:30:30 am" To: zul@pinto.unsyiah.ac.id (Zulkarnain) Date: Tue, 6 Apr 1999 01:17:09 -0400 (EDT) Cc: freebsd-questions@FreeBSD.ORG Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 #include . . . 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