|
|
|
@ -2413,6 +2413,19 @@ g_getuid(void)
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/* does not work in win32 */
|
|
|
|
|
/* returns user id */
|
|
|
|
|
int APP_CC
|
|
|
|
|
g_getgid(void)
|
|
|
|
|
{
|
|
|
|
|
#if defined(_WIN32)
|
|
|
|
|
return 0;
|
|
|
|
|
#else
|
|
|
|
|
return getgid();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
|
/* does not work in win32 */
|
|
|
|
|
/* On success, zero is returned. On error, -1 is returned */
|
|
|
|
|