getuduser(3)

getuduser3

Return user database entry of unidata user

Usage

#include <unistd.h>

const struct passwd *getudent(void);

Overview

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.

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 8–13

From libxgks-dev 2.6.1+dfsg.2-17 in Debian 13 (Trixie). Parsed by carta from the page's man source.