an_geterror - return Antinat's error code in string form
#include <antinat.h>
char * an_geterror(int error);
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.
This call returns a pointer to a read-only string containing the error message, or NULL if the error code is invalid.
The return value will be NULL if an error occurs.
This function appeared in Antinat 0.70.
Malcolm Smith <malxau@users.sourceforge.net>