diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-05-17 16:06:02 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-05-17 16:06:02 +0000 |
commit | 68509b303eb9d091068adf651385c29c41a8f458 (patch) | |
tree | 39b0c6a04fe2571166c8a9025bb0973858429e03 /winsup/cygwin/cygwin.din | |
parent | 3271e9f9e38cb9d0e51554680f1f87c3ea3fe5f7 (diff) | |
download | cygnal-68509b303eb9d091068adf651385c29c41a8f458.tar.gz cygnal-68509b303eb9d091068adf651385c29c41a8f458.tar.bz2 cygnal-68509b303eb9d091068adf651385c29c41a8f458.zip |
* cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,
getgrgid_r, getgrnam_r and getlogin_r.
* grp.cc (getgrgid_r): New function.
(getgrnam_r): Ditto.
* syscalls.cc (flockfile): Ditto.
(ftrylockfile): Ditto.
(funlockfile): Ditto.
* sysconf.cc (sysconf): Return LOGIN_NAME_MAX in case of
_SC_LOGIN_NAME_MAX.
* thread.cc (__cygwin_lock_trylock): Define int. Return value from
call to pthread_mutex_trylock.
* uinfo.cc (getlogin_r): New function.
* include/limits.h: Define LOGIN_NAME_MAX.
* include/cygwin/version.h: Bump API minor number.
* include/sys/lock.h: Add declarations for __cygwin_lock_xxx functions.
* include/sys/stdio.h: Add define for _ftrylockfile.
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 dd8cbee58..f31906248 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -503,6 +503,9 @@ _finitef = finitef NOSIGFE fiprintf SIGFE _fiprintf = fiprintf SIGFE flock SIGFE +flockfile SIGFE +ftrylockfile SIGFE +funlockfile SIGFE floor NOSIGFE _floor = floor NOSIGFE floorf NOSIGFE @@ -614,9 +617,11 @@ _getgid32 = getgid32 NOSIGFE getgrent SIGFE _getgrent = getgrent SIGFE _getgrent32 = getgrent32 SIGFE +getgrgid_r SIGFE getgrgid SIGFE _getgrgid = getgrgid SIGFE _getgrgid32 = getgrgid32 SIGFE +getgrnam_r SIGFE getgrnam SIGFE _getgrnam = getgrnam SIGFE _getgrnam32 = getgrnam32 SIGFE @@ -625,6 +630,7 @@ _getgroups = getgroups SIGFE _getgroups32 = getgroups32 SIGFE gethostid SIGFE getitimer SIGFE +getlogin_r NOSIGFE getlogin NOSIGFE _getlogin = getlogin NOSIGFE getmntent SIGFE |