Date: Fri, 28 Jun 2002 13:18:25 -0700 From: Peter Wemm <peter@wemm.org> To: Garance A Drosihn <drosih@rpi.edu> Cc: Robert Drehmel <robert@zoot.drehmel.com>, current@FreeBSD.ORG, robert@FreeBSD.ORG Subject: Re: changing 'struct utmp' Message-ID: <20020628201825.5A84B390F@overcee.wemm.org> In-Reply-To: <p051117b2b9425468b63e@[128.113.24.47]>
next in thread | previous in thread | raw e-mail | index | archive | help
Garance A Drosihn wrote: > At 12:21 PM -0400 6/28/02, Garance A Drosihn wrote: > >I think it's better to leave utmp as it is, and start work on a > >utmpx definition which is more standardized. Access to this > >new improved database should be through the endutxent, getutxent, > >getutxid, getutxline, pututxline, and setutxent routines. > > See > http://www.opengroup.org/onlinepubs/007904975/functions/getutxent.html > > >See also the standardized definition of utmpx.h. > > http://www.opengroup.org/onlinepubs/007904975/basedefs/utmpx.h.html Incidently, there's nothing here that requires there be a flat file backing this stuff with fixed size records. A .db file with a format descriptor could implement this API just fine. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020628201825.5A84B390F>