Rate This Document
Findability
Accuracy
Completeness
Readability

Memory Release Function

Release the memory in the policy structure. The policy cannot be used anymore after this function is called.

Interface Definition

KmlVslResult kml_destroy(VslPolicy *policy);

Parameters

Parameter

Type

Description

Input/Output

policy

Pointer to data of the VslPolicy type.

Pointer to the random number generator structure

Input

Dependencies

#include "kvsl.h"

Examples

#include <time.h>
#include <stdlib.h>
#include "kvsl.h"
int main()
{
    VslPolicy *policy;
    kml_vsl_init(&policy, LECUYER_CMRG, time(NULL));
    kml_vsl_destroy(policy);
}