Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

getuduser - return user database entry of Unidata user

Description

       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".

Environment

       UDLOGNAME   Contains the name of the Unidata user.

Printed: 125.7.29                         $Date: 2000/08/07 23:15:03 $                               GETUDENT(3)

Name

       getuduser - return user database entry of Unidata user

Synopsis

#include<unistd.h>conststructpasswd*getudent(void);

See Also