aboutsummaryrefslogtreecommitdiffstats
path: root/sdk/std/utmp.h
blob: 2ac67f4751b9e23ca67a43ab4ad75e7bb3d1e414 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * utmp file access interface, local or ported.
 * $Id$
 * Copyright (c) 1997 by Tycho Softworks.
 * For conditions of distribution and use see license.
 */

#ifndef	__STD_UTMP_H__
#define	__STD_UTMP_H__

#ifndef	__STD_TYPES_H__
#include <std/types.h>
#endif

#include <utmp.h>

#ifndef	_UTMP_PATH
#define	_UTMP_PATH	"/etc/utmp.h"
#endif

#ifdef	UT_USER_I_MISSING
#define	ut_user	ut_name
#endif

#ifdef	GETUTENT_F_MISSING
void	setutent(void);
void	endutent(void);
struct	utmp	*getutent(void);
#endif

#endif