summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/lib/mshtml-uuid.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-03-29 12:44:01 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-03-29 12:44:01 +0000
commit8304de2e34e6977d3314920717ae5de8db8aff02 (patch)
treef911c356574b5a1c063987922cc80a51f16120e5 /winsup/w32api/lib/mshtml-uuid.c
parentd9c55a44d66ebe3e3e367f2c38f30af0e20b5457 (diff)
downloadcygnal-8304de2e34e6977d3314920717ae5de8db8aff02.tar.gz
cygnal-8304de2e34e6977d3314920717ae5de8db8aff02.tar.bz2
cygnal-8304de2e34e6977d3314920717ae5de8db8aff02.zip
* syscalls.cc: Slightly cleanup all utmp functions.
(login): Use mutex to secure against concurrent access to wtmp file. (logout): Rewrite using POSIX calls. (utmp_fd): Initialized to -1 now. Any value < 0 is treated as closed in subsequent functions. (utmp_readonly): New variable, indicating utmp file open for reading only. (internal_setutent): New function implementing setutent(). (setutent): Call internal_setutent now. (endutent): Reset utmp_readonly. (getutent): Return immediately if utmp file can't be opened. (getutid): Ditto. (getutline): Ditto. (pututline): Ditto. Use mutex to secure against concurrent access to utmp file.
Diffstat (limited to 'winsup/w32api/lib/mshtml-uuid.c')
0 files changed, 0 insertions, 0 deletions