getuinfox Subroutine

Purpose

Finds a value associated with a user.

Library

Standard C Library (libc.a)

Syntax

char *getuinfox ( Name)
char *Name;

Description

The getuinfox subroutine finds a value associated with a user. This subroutine searches a privileged kernel buffer for a string of the form Name=Value and returns a pointer to the Value substring if the Name value is found. A Null value is returned if the Name value is not found. The caller is responsible for freeing the memory returned by the getuinfox subroutine.

Parameters

Item Description
Name Specifies a name.

Return Values

Upon success, the getuinfox subroutine returns a pointer to the Value substring.

Error Codes

A Null value is returned if the Name value is not found.