Panopticon 24.4
Panopticon C Programming Guide

# shutdown()

This function terminates a Panopticon session that was initialized by init(), and frees allocated system resources. You must call this function when the Panopticon context is no longer required.

## Syntax

    KVPanopticonError shutdown(KVPanopticonContext** const context);

## Arguments

`context` | A pointer to a pointer of type `KVPanopticonContext`, initialized by calling init(). This function sets the target to NULL to prevent accidental reuse of the context value that it contained, which must not be subsequently passed to any Panopticon function.

## Returns

If the function was successful, it returns `KVP_Success`. Otherwise, it returns a KVPanopticonError value describing the problem.

## Discussion

- The context value pointed to by context can be NULL.

Copyright 2020-2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Panopticon 24.4

Topic Title: shutdown()