diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-12-15 17:29:01 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-12-15 17:29:01 +0000 |
commit | 2ef89b220a96cca8c1c92e434548a0a9cd0e0567 (patch) | |
tree | a4d0a7945e092d51946b8a0da7d30ad103eea129 /winsup/cygwin/cygwin.din | |
parent | 4931fc2b3a00f9985945add29c6f5abbce991603 (diff) | |
download | cygnal-2ef89b220a96cca8c1c92e434548a0a9cd0e0567.tar.gz cygnal-2ef89b220a96cca8c1c92e434548a0a9cd0e0567.tar.bz2 cygnal-2ef89b220a96cca8c1c92e434548a0a9cd0e0567.zip |
* cygwin.din: Add utmpx symbols.
* syscalls.cc: Include utmpx.h. Implement utmpx functions as stubs
to utmp functions.
(copy_ut_to_utx): New static function.
(pututline): Change from void to struct utmp * as on Linux.
(setutxent): New function.
(endutxent): New function.
(getutxent): New function.
(getutxid): New function.
(getutxline): New function.
(pututxline): New function.
* include/utmpx.h: New file.
* include/cygwin/utmp.h: New file.
* include/cygwin/version.h: Bump API minor number.
* include/sys/utmp.h: Include cygwin/utmp.h. Move stuff common with
utmpx functionality there.
(pututline): Declare struct utmp *.
Diffstat (limited to 'winsup/cygwin/cygwin.din')
-rw-r--r-- | winsup/cygwin/cygwin.din | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index 13deed84c..666d7705c 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -404,6 +404,7 @@ endpwent NOSIGFE _endpwent = endpwent NOSIGFE endutent SIGFE _endutent = endutent SIGFE +endutxent SIGFE envz_add SIGFE __envz_add = envz_add SIGFE envz_entry NOSIGFE @@ -682,6 +683,9 @@ getutid SIGFE _getutid = getutid SIGFE getutline SIGFE _getutline = getutline SIGFE +getutxent SIGFE +getutxid SIGFE +getutxline SIGFE getw SIGFE _getw = getw SIGFE getwd SIGFE @@ -1067,6 +1071,7 @@ puts SIGFE _puts = puts SIGFE pututline SIGFE _pututline = pututline SIGFE +pututxline SIGFE putw SIGFE _putw = putw SIGFE qsort NOSIGFE @@ -1215,6 +1220,7 @@ _setuid = setuid SIGFE _setuid32 = setuid32 SIGFE setutent SIGFE _setutent = setutent SIGFE +setutxent SIGFE setvbuf SIGFE _setvbuf = setvbuf SIGFE sexecl = sexecve_is_bad SIGFE |