nerr_match man page on DragonFly
[printable version]
nerr_match(3) util/neo_err.h nerr_match(3)
NAME
nerr_match
SYNOPSIS
#include <util/neo_err.h>
int nerr_match (NEOERR *err, NERR_TYPE type);
ARGUMENTS
err - the NEOERR that has an error.
type - the NEOERR type, as registered with nerr_register
DESCRIPTION
nerr_match is used to walk the NEOERR chain and match the error against
a specific error type. In exception parlance, this would be the equiv‐
alent of "catch". Typically, you can just compare a NEOERR against
STATUS_OK or just test for true if you are checking for any error.
SEE ALSO
nerr_error_traceback(3), nerr_pass(3), nerr_error_string(3),
defined(3), nerr_pass_ctx(3), nerr_passf(3), nerr_init(3),
nerr_match(3), nerr_log_error(3), nerr_ignore(3), nerr_register(3),
nerr_handle
ClearSilver 12 July 2007 nerr_match(3)
[top]
List of man pages available for DragonFly
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|