getmid Utility

Purpose

Returns a module ID.

Syntax

ushort
getmid(name)
char  name;

Description

The getmid utility returns the module ID for the module identified by the name parameter.

This utility is part of STREAMS Kernel Extensions.

Parameters

Item Description
name Specifies the module to be identified.

Return Values

On successful completion, the getmid utility returns the module ID. Otherwise, it returns a value of 0.