From c7dd4f95118f40d8fcb2f83c11d9419aba5bdef2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 5 Nov 2001 18:06:24 +0000 Subject: * libc/include/sys/unistd.h: Add prototypes for endusershell(), getusershell(), iruserok(), revoke(), ruserok() and setusershell() when __CYGWIN__ is defined. * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and logwtmp(). --- newlib/libc/sys/cygwin/sys/utmp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc/sys/cygwin') diff --git a/newlib/libc/sys/cygwin/sys/utmp.h b/newlib/libc/sys/cygwin/sys/utmp.h index 7ba33b4..12257f5 100644 --- a/newlib/libc/sys/cygwin/sys/utmp.h +++ b/newlib/libc/sys/cygwin/sys/utmp.h @@ -50,6 +50,8 @@ extern void utmpname (const char *); void login (struct utmp *); int logout (char *); +int login_tty (int); +void logwtmp (char *, char *, char *); #ifdef __cplusplus } -- cgit v1.1