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

Tcp/ip services for openvms
Table of Contents

Advertisement

sprintoid

Converts an
Format
char *sprintoid ( char *buffer,
Description
An
can have up to 128 elements. A full-sized
OID
Return Values
The return value points to its first argument.
Example
#include <esnmp.h>
#define SOMETHING_BIG 1024
OID abc;
char buffer[SOMETHING_BIG];
:
: assume abc gets initialized with some value
:
printf("dots=%s\n", sprintoid(buffer, &abc));
into a null-terminated string.
OID
oid *oid );
eSNMP API Routines
sprintoid
can require a large buffer.
OID
eSNMP API Routines 5–39

Advertisement

Table of Contents
loading

Table of Contents