Panopticon 25.2
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-2025 Open Text
Version 25.2 | Last updated April 2025

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: File Content Extraction Panopticon 25.2

Topic Title: shutdown()