X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/fbd86d4cc20b02a10edcca92fb7ae0a143e63cc4..1f2f436a38f7ae2d39a943ad2898d8fed4ed2e58:/gen/NetBSD/utmpx.5 diff --git a/gen/NetBSD/utmpx.5 b/gen/NetBSD/utmpx.5 index 3f5ed33..25a803d 100644 --- a/gen/NetBSD/utmpx.5 +++ b/gen/NetBSD/utmpx.5 @@ -1,4 +1,4 @@ -.\" $NetBSD: utmpx.5,v 1.2 2003/04/16 13:35:24 wiz Exp $ +.\" $NetBSD: utmpx.5,v 1.7 2008/04/30 13:10:57 martin Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -14,13 +14,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the NetBSD -.\" Foundation, Inc. and its contributors. -.\" 4. Neither the name of The NetBSD Foundation nor the names of its -.\" contributors may be used to endorse or promote products derived -.\" from this software without specific prior written permission. .\" .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED @@ -34,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 26, 2002 +.Dd January 31, 2007 .Dt UTMPX 5 .Os .Sh NAME @@ -45,6 +38,17 @@ .Sh SYNOPSIS .In utmpx.h .Sh DESCRIPTION +In contrast to +.Pa utmp +and +.Pa wtmp , +the extended databases in +.Pa utmpx +and +.Pa wtmpx +reserve more space for logging hostnames, and also +information on a process' ID, termination signal and exit status. +.Pp The .Aq Pa utmpx.h header defines the structures and functions for logging user. @@ -55,13 +59,11 @@ and date changes, is kept in .Pa /var/log/wtmpx , and the last login of each user is noted in .Pa /var/log/lastlogx . -The files are not automatically created if they do not exist; they -must be created manually. .Pp The interface to the .Nm utmpx file is described in -.Xr endutxent 3 . +.Xr getutxent 3 . .Pp The .Nm wtmpx @@ -131,6 +133,7 @@ file. .Xr who 1 , .Xr endutxent 3 , .Xr logwtmpx 3 , +.Xr utmp 5 , .Xr ac 8 , .Xr init 8 , .Xr newsyslog 8 ,