In file useracc.h:

int usr_exists

(char* uid)

Check for the existence of a user.

Documentation

Check for the existence of a user.

Checks if the specified user exists. If the user does exist, the canonical form of the user ID (i.e. the properly capitalised version of the ID provided) overwrites the provided user ID.

Parameters:
uid - A user ID to look for. The match is case insensitive. The properly capitalised user ID overwrites this string on success.
Returns:
Zero if the user could not be located. One if the user is located, in which case, uid will contain the canonical form of the ID.

Alphabetic index



This page was generated with the help of DOC++.