Nix 2.17.0
Nix, the purely functional package manager; stable external interfaces
|
C bindings for nix libutil. More...
Modules | |
Handling errors | |
Dealing with errors from the Nix side. | |
Settings | |
Files | |
file | nix_api_util.h |
Main entry for the libutil C bindings. | |
Functions | |
nix_err | nix_libutil_init (nix_c_context *context) |
Initializes nix_libutil and its dependencies. More... | |
const char * | nix_version_get () |
Retrieves the nix library version. More... | |
C bindings for nix libutil.
libutil is used for functionality shared between different Nix modules.
nix_err nix_libutil_init | ( | nix_c_context * | context | ) |
Initializes nix_libutil and its dependencies.
This function can be called multiple times, but should be called at least once prior to any other nix function.
[out] | context | Optional, stores error information |
const char * nix_version_get | ( | ) |
Retrieves the nix library version.
Does not fail.