2017-07-02 11:56:40 +02:00
|
|
|
In Termux login_tty() is implemented in the libutil package to support android-21.
|
|
|
|
|
|
|
|
diff -u -r /home/fornwall/lib/android-ndk/sysroot/usr/include/utmp.h ./usr/include/utmp.h
|
|
|
|
--- /home/fornwall/lib/android-ndk/sysroot/usr/include/utmp.h 2017-06-20 17:41:56.000000000 +0200
|
2017-07-10 09:52:50 +02:00
|
|
|
+++ ./usr/include/utmp.h 2017-07-10 09:47:42.422659110 +0200
|
|
|
|
@@ -101,11 +101,7 @@
|
|
|
|
struct utmp* getutent(void);
|
2017-07-02 11:56:40 +02:00
|
|
|
void endutent(void);
|
|
|
|
|
2017-07-10 09:52:50 +02:00
|
|
|
-
|
2017-07-02 11:56:40 +02:00
|
|
|
-#if __ANDROID_API__ >= 23
|
|
|
|
-int login_tty(int) __INTRODUCED_IN(23);
|
|
|
|
-#endif /* __ANDROID_API__ >= 23 */
|
|
|
|
-
|
|
|
|
+int login_tty(int);
|
|
|
|
|
2017-07-10 09:52:50 +02:00
|
|
|
__END_DECLS
|
|
|
|
|