DOKK / manpages / debian 10 / libxgks-dev / getuduser.3.en
GETUDENT(3) UNIDATA LIBRARY FUNCTIONS GETUDENT(3)

getuduser - return user database entry of Unidata user


#include <unistd.h>

const struct passwd *getudent(void);

This function returns the user database entry for the Unidata user -- or NULL if no such user exists. It tries the UNIX function `getpwnam()' with a series of user names and stops at the first valid entry. The first name tried is the value of the environment variable UDLOGNAME, if it exists. The remaining names are, in order, "unidata", "ldm4", and "ldm".

Contains the name of the Unidata user.
$Date: 2000/08/07 23:15:03 $ Printed: 0.0.0