From 4b2cb37770e56835b261660535cea77474154ba0 Mon Sep 17 00:00:00 2001 From: Felix Janda Date: Sat, 20 Dec 2014 20:13:27 -0500 Subject: add login_tty function --- include/utmp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/utmp.h') diff --git a/include/utmp.h b/include/utmp.h index e9ba23e2..24e2da7b 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -35,6 +35,8 @@ void setutent(void); void updwtmp(const char *, const struct utmp *); +int login_tty(int); + #define _PATH_UTMP "/dev/null/utmp" #define _PATH_WTMP "/dev/null/wtmp" -- cgit v1.2.1