Cmp_Oid - Compaq TCP/IP Services for OpenVMS Programming And Reference Manual

Tcp/ip services for openvms
Table of Contents

Advertisement

cmp_oid

Compares two OID structures.
Format
int cmp_oid ( oid *q,
Description
This routine does an element-by-element comparison, from the most significant
element (element 0) to the least significant element. If all other elements are
equal, the OID with the least number of elements is considered less.
Return Values
-1
0
1
oid *p );
The
The
The
eSNMP API Routines
is less than
OID q
OID p
OID q
is in
OID p
.
is greater than
OID q
OID p
eSNMP API Routines 5–47
cmp_oid
.
.

Advertisement

Table of Contents
loading

Table of Contents