59 #include <sys/types.h>
70 #if defined( HAVE_GETPWUID )
71 struct passwd * pstUsrDat;
74 #if defined( HAVE_GETPWUID )
75 pstUsrDat = getpwuid(geteuid());
77 #elif defined( HAVE_IDTOUSER )
80 strcpy( buffer,
"unknown" );
static void getUserID(char *buffer)