logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

genders_errnum, genders_strerror, genders_errormsg, genders_perror - genders error routines

Description

genders_errnum() returns the error code stored in handle.

       genders_strerror() returns a pointer to a string describing the error code errnum.

       Generally, an error code is retrieved by genders_errnum() and then passed to genders_strerror().

       genders_errormsg()  returns a pointer to a string describing the error stored in handle.  It is logically
       equivalent to:

       char *genders_strerror(genders_errnum(genders_t handle));

       genders_perror() is similar to perror(3).  It produces a message on standard error output, describing the
       error stored in handle.  If msg is not NULL, the string pointed to by msg,  a  colon,  and  a  blank  are
       printed before the error message.

Files

       /usr/include/genders.h

LLNL                                               August 2003                                 GENDERS_ERRNUM(3)

Name

       genders_errnum, genders_strerror, genders_errormsg, genders_perror - genders error routines

Synopsis

#include<genders.h>intgenders_errnum(genders_thandle);char*genders_strerror(interrnum);char*genders_errormsg(genders_thandle);voidgenders_perror(genders_thandle,constchar*msg);

See Also