Module sys

Source
Expand description

Low-level interface to the underlying C library.

Structs§

Label
OwnedString
String

Functions§

delete
Delete a custom label, if it exists, on the current label set.
get
Get the label corresponding to a key on the current label set, or NULL if none exists.
labelset_clone
Clone the given label set.
labelset_current
Get the currently active label set.
labelset_debug_string
Writes a debug string representing the given label set into out. If successful, the caller must free out->buf.
labelset_delete
Delete a custom label, if it exists, on the given label set.
labelset_free
Frees all memory associated with a label set.
labelset_get
Get the label corresponding to a key on the given label set, or NULL if none exists.
labelset_new
Create a new label set.
labelset_replace
Install the given label set as the current one, returning the old one.
labelset_set
Set a new custom label, or reset an existing one, on a given label set.
set
Set a new custom label, or reset an existing one, on the current label set.

Type Aliases§

Labelset