Panopticon 12.13

# 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-2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Panopticon 12.13

Topic Title: shutdown()