16.2.3. PMIx_Finalize — OpenPMIx 4.2.6a1 documentation

# 16.2.3. PMIx_Finalize

PMIx_Finalize - Finalize the PMIx Client

## 16.2.3.1. SYNOPSIS

    #include <pmix.h>

    pmix_status_t PMIx_Finalize(void);

## 16.2.3.2. DESCRIPTION

Finalize the PMIx client, closing the connection with the local PMIx server.

## 16.2.3.3. RETURN VALUE

Returns `PMIX_SUCCESS` on success. On error, a negative value corresponding to a PMIx `errno` is returned.

## 16.2.3.4. ERRORS

PMIx `errno` values are defined in `pmix_common.h`.

See also

PMIx_Abort(3), PMIx_Commit(3), PMIx_Init(3), PMIx_Initialized(3), PMIx_Put(3), pmiAddInstance(3), pmiAddMetric(3)