xref: /csrg-svn/include/utmp.h (revision 35767)
121315Sdist /*
235600Sbostic  * Copyright (c) 1988 The Regents of the University of California.
335600Sbostic  * All rights reserved.
421315Sdist  *
535600Sbostic  * Redistribution and use in source and binary forms are permitted
635600Sbostic  * provided that the above copyright notice and this paragraph are
735600Sbostic  * duplicated in all such forms and that any documentation,
835600Sbostic  * advertising materials, and other materials related to such
935600Sbostic  * distribution and use acknowledge that the software was developed
1035600Sbostic  * by the University of California, Berkeley.  The name of the
1135600Sbostic  * University may not be used to endorse or promote products derived
1235600Sbostic  * from this software without specific prior written permission.
1335600Sbostic  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1435600Sbostic  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1535600Sbostic  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1635600Sbostic  *
17*35767Smarc  *	@(#)utmp.h	5.4 (Berkeley) 10/07/88
1821315Sdist  */
1912196Ssam 
2035665Sbostic #define	UT_NAMESIZE	8
2135665Sbostic #define	UT_LINESIZE	8
2235665Sbostic #define	UT_HOSTSIZE	16
2312196Ssam struct utmp {
2435665Sbostic 	char	ut_line[UT_NAMESIZE];
2535665Sbostic 	char	ut_name[UT_LINESIZE];
2635665Sbostic 	char	ut_host[UT_HOSTSIZE];
27*35767Smarc 	long	ut_time;
2812196Ssam };
29