Lcg password file thread-safe inferface
#include <Cpwd.h>
struct passwd *Cgetpwnam(char *name);
struct passwd *Cgetpwuid(uid_t uid);
If the Cthread interface is chosen and activated, the errors value are in the serrno variable.
Cpwd is a common Thread-Safe API interface to get entries in the password file vs. name or uid.
serrno, getpwnam, getpwuid
LCG Grid Deployment Team