SliTaz Man Pages

Community Doc Forum Pro Shop Bugs Hg Cook

AN_GETERROR

Provided by antinat package
Section: Antinat Programmer's Manual (3)
Updated: 2005-02-25
Index Return to Main Contents

NAME

an_geterror - return Antinat's error code in string form

SYNOPSIS

#include <antinat.h>

char * an_geterror(int error);

DESCRIPTION

The an_geterror(3) function is used to retrieve a human readable explanation of the error. The exact strings contained here are liable to change and could be potentially lengthy.

error is an error code returned by a call to another Antinat function.

RETURN VALUE

This call returns a pointer to a read-only string containing the error message, or NULL if the error code is invalid.

ERRORS

The return value will be NULL if an error occurs.

CONFORMING TO

This function appeared in Antinat 0.70.

AUTHOR

Malcolm Smith <malxau@users.sourceforge.net>

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
CONFORMING TO
AUTHOR