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

Tcp/ip services for openvms
Table of Contents

Advertisement

free_oct

Frees the buffer attached to an
the
oct
Format
void free_oct ( oct *oct );
Description
This routine frees the dynamically allocated buffer to which the
points, and zeros the pointer and length on the
is already null, this routine does nothing.
If the buffer attached to the
length field of the
Example
#include <esnmp.h>
OCT octet;
:
: assume octet was assigned a value (perhaps with mem2oct()
: and we are now finished with it.
:
free_oct(&octet);
structure; it deallocates the buffer to which the
oct
structure to zero.
oct
structure. This routine does not deallocate
oct
structure. If the
oct
structure is already null, this routine sets the
eSNMP API Routines
free_oct
oct
structure points.
structure
oct
structure
oct
eSNMP API Routines 5–55

Advertisement

Table of Contents
loading

Table of Contents