This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/unix/utmp.h

30 lines
657 B
C
Raw Normal View History

2002-01-02 22:17:58 +00:00
/* $Id$ */
#ifndef _UTMP_HH
#define _UTMP_HH
void checkutmp(int);
#ifndef HAVE_UPDWTMP
void updwtmp(const char *, const struct utmp *);
#endif /* ! HAVE_UPDWTMP */
#ifdef HAVE_UTMPX_H
#ifndef HAVE_UPDWTMPX
static void updwtmpx(const char *, const struct utmpx *);
#endif /* ! HAVE_UPDWTMPX */
#endif /* ! HAVE_UTMPX_H */
2002-01-03 21:43:29 +00:00
#if defined(__linux__) /* XXX */
2002-01-02 22:17:58 +00:00
void setutmp(const char *, const char *, const char *);
2002-01-03 21:43:29 +00:00
#elif HAVE_UTMPX_H
void setutmp(const char *, const char *, const char *);
2002-01-11 19:01:00 +00:00
#elif __FreeBSD__ || __NetBSD__
2002-01-06 13:24:23 +00:00
void setutmp(const char *, const char *, const char *);
2002-01-03 21:43:29 +00:00
#else /* !SVR4 */
void setutmp(const char *, const char *);
#endif
2002-01-02 22:17:58 +00:00
#endif