Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

C/C++ API Documentation | 2025.2

# P4Libraries::Shutdown()

Clean up static initializations. Must be called with the same arguments as P4Libraries.Initialize().

For example, in `sample/p4api.cc` the Initialize arguments are `P4LIBRARIES_INIT_ALL`, `&e`:

`P4Libraries::Initialize( P4LIBRARIES_INIT_ALL, &e );` so the call to Shutdown uses those same arguments:

`P4Libraries::Shutdown( P4LIBRARIES_INIT_ALL, &e );`

Your search for returned results