pub unsafe extern "C" fn seccomp_api_get() -> c_uint
Expand description

Query the library’s level of API support

This function returns an API level value indicating the current supported functionality. It is important to note that this level of support is determined at runtime and therefore can change based on the running kernel and system configuration (e.g. any previously loaded seccomp filters). This function can be called multiple times, but it only queries the system the first time it is called, the API level is cached and used in subsequent calls.

The current API levels are described below: