opensolaris man page for mp_compareoids

Query: mp_compareoids

OS: opensolaris

Section: 3mpapi

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MP_CompareOIDs(3MPAPI)				   Common Multipath Management Library Functions			    MP_CompareOIDs(3MPAPI)

NAME
MP_CompareOIDs - compare two object IDs
SYNOPSIS
cc [ flag... ] file... -lMPAPI [ library... ] #include <mpapi.h> MP_STATUS MP_CompareOIDs(MP_OID oid1, MP_OID oid2);
PARAMETERS
oid1 An object ID that has type MP_OIDs for two objects to compare. oid2 An object ID that has type MP_OIDs for two objects to compare.
DESCRIPTION
The MP_CompareOIDs() function compares two object IDs (OIDs) for equality to see whether they refer to the same object. The fields in the two object IDs are compared field-by-field for equality.
RETURN VALUES
MP_STATUS_FAILED The object IDs do not compare. MP_STATUS_SUCCESS The two object IDs refer to the same object.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard: ANSI INCITS 412 | | |Multipath Management API | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+
SEE ALSO
libMPAPI(3LIB), attributes(5) Multipath Management API Version 1.0 SunOS 5.11 15 Feb 2006 MP_CompareOIDs(3MPAPI)
Related Man Pages
mp_enableautofailback(3mpapi) - opensolaris
mp_getinitiatorportoidlist(3mpapi) - opensolaris
mp_getobjecttype(3mpapi) - opensolaris
mp_getpluginoidlist(3mpapi) - opensolaris
mp_getpluginproperties(3mpapi) - opensolaris
Similar Topics in the Unix Linux Community
if then fi
Need command
Cannot remove root Filesystem from the Multipath configuration
Search every line and compare fields
Comparing fields of two files and displaying results