Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/cygwin/sys/utmp.h')
-rw-r--r--newlib/libc/sys/cygwin/sys/utmp.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/newlib/libc/sys/cygwin/sys/utmp.h b/newlib/libc/sys/cygwin/sys/utmp.h
deleted file mode 100644
index 87cb5d368..000000000
--- a/newlib/libc/sys/cygwin/sys/utmp.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/* sys/utmp.h
-
- Copyright 2001 Red Hat, Inc.
-
- This software is a copyrighted work licensed under the terms of the
- Cygwin license. Please consult the file "CYGWIN_LICENSE" for
- details. */
-
-#ifndef UTMP_H
-#define UTMP_H
-
-#include <sys/types.h>
-#include <time.h>
-#include <paths.h>
-
-#define UTMP_FILE _PATH_UTMP
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define UT_LINESIZE 16
-#define UT_NAMESIZE 16
-#define UT_HOSTSIZE 256
-#define ut_name ut_user
-
-struct utmp
-{
- short ut_type;
- pid_t ut_pid;
- char ut_line[UT_LINESIZE];
- char ut_id[2];
- time_t ut_time;
- char ut_user[UT_NAMESIZE];
- char ut_host[UT_HOSTSIZE];
- long ut_addr;
-};
-
-#define INIT_PROCESS 5
-#define LOGIN_PROCESS 6
-#define USER_PROCESS 7
-#define DEAD_PROCESS 8
-
-extern struct utmp *_getutline (struct utmp *);
-extern struct utmp *getutent (void);
-extern struct utmp *getutid (struct utmp *);
-extern struct utmp *getutline (struct utmp *);
-extern void endutent (void);
-extern void pututline (struct utmp *);
-extern void setutent (void);
-extern void utmpname (const char *);
-
-void login (struct utmp *);
-int logout (char *);
-int login_tty (int);
-void logwtmp (char *, char *, char *);
-
-#ifdef __cplusplus
-}
-#endif
-#endif /* UTMP_H */