getadmin Utility

Purpose

Returns a pointer to a module.

Syntax

int
(*getadmin(mid))()
ushort  mid;

Description

The getadmin utility returns a pointer to the module identified by the mid parameter.

This utility is part of STREAMS Kernel Extensions.

Parameters

Item Description
mid Identifies the module to locate.

Return Values

On successful completion, the getadmin utility returns a pointer to the specified module. Otherwise, it returns a null pointer.