diff options
Diffstat (limited to 'winsup/cygwin/include/utmpx.h')
-rw-r--r-- | winsup/cygwin/include/utmpx.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/winsup/cygwin/include/utmpx.h b/winsup/cygwin/include/utmpx.h index 395c7a09a..0e24ce884 100644 --- a/winsup/cygwin/include/utmpx.h +++ b/winsup/cygwin/include/utmpx.h @@ -32,12 +32,21 @@ struct utmpx struct timeval ut_tv; }; +#ifndef ut_name +#define ut_name ut_user +#endif + +#ifndef ut_xtime +#define ut_xtime ut_tv.tv_sec +#endif + extern void endutxent (void); extern struct utmpx *getutxent (void); extern struct utmpx *getutxid (const struct utmpx *id); extern struct utmpx *getutxline (const struct utmpx *line); extern struct utmpx *pututxline (const struct utmpx *utmpx); extern void setutxent (void); +extern void utmpxname (const char *file); #ifdef __cplusplus } |