summaryrefslogtreecommitdiff
path: root/include/utmp.h
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2014-12-20 20:13:27 -0500
committerRich Felker <dalias@aerifal.cx>2014-12-20 20:13:27 -0500
commit4b2cb37770e56835b261660535cea77474154ba0 (patch)
tree9e7c320ebb6770e76e0119fccc1cd8da4ac78f5c /include/utmp.h
parent0217ed72f986d78b177f1a014e93f2150105bb44 (diff)
downloadmusl-4b2cb37770e56835b261660535cea77474154ba0.tar.gz
add login_tty function
Diffstat (limited to 'include/utmp.h')
-rw-r--r--include/utmp.h2
1 files changed, 2 insertions, 0 deletions
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"