NetBSD/distrib/utils/libhack/utmp.c

52 lines
626 B
C

/* $NetBSD: utmp.c,v 1.4 2002/08/03 11:37:17 itojun Exp $ */
/*
* Written by Gordon W. Ross <gwr@netbsd.org>
* Public domain.
*/
/* Simplified (do nothing:) */
#include <sys/types.h>
#include <utmp.h>
#include <util.h>
void
login(ut)
const struct utmp *ut;
{
}
void
loginx(ut)
const struct utmpx *ut;
{
}
int
logout(line)
const char *line;
{
return(0);
}
int
logoutx(line, status, type)
const char *line;
int status, type;
{
return(0);
}
void
logwtmp(line, name, host)
const char *line, *name, *host;
{
}
void
logwtmpx(line, name, host, status, type)
const char *line, *name, *host;
int status, type;
{
}