nerr_handle (3) - Linux Manuals

NAME

nerr_handle

SYNOPSIS

#include <util/neo_err.h>

int nerr_handle (NEOERR **err, NERR_TYPE type);

ARGUMENTS

err - pointer to a pointer NEOERR
type - the NEOERR type, as registered with nerr_register

DESCRIPTION

nerr_handle is a convenience function. It is the equivalent of nerr_match, but it will also deallocate the error chain on a match.