From 68509b303eb9d091068adf651385c29c41a8f458 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 17 May 2004 16:06:02 +0000 Subject: * 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. --- winsup/cygwin/cygwin.din | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'winsup/cygwin/cygwin.din') 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 -- cgit v1.2.3