lash_end


[ Synopsis | Description | Return values | Diagnostics | See also | Back to core package documentation ]

Synopsis

#include "lash.h"

int lash_end(void);

Description

Shuts down the package and performs some internal consistency checks.

Return values

If the function is successful, it returns 0. Otherwise, it returns -1 and sets lash_errno.

Diagnostics

LASH_ERR_NOT_INIT
The package has not been initialized.
LASH_ERR_IN_USE
Some objects that have been created are still in use. The package cannot shut down until those objects are freed.

See also

lash_init

[ Synopsis | Description | Return values | Diagnostics | See also | Back to core package documentation ]