Poster of Linux kernelThe best gift for a Linux geek
GENDERS_ERRNUM

GENDERS_ERRNUM

Section: LIBGENDERS (3) Updated: August 2003
Local index Up
 

NAME

genders_errnum, genders_strerror, genders_errormsg, genders_perror - genders error routines  

SYNOPSIS

#include <genders.h>

int genders_errnum(genders_t handle);

char *genders_strerror(int errnum);

char *genders_errormsg(genders_t handle);

void genders_perror(genders_t handle, const char *msg);
 

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES

This document was created by man2html, using the manual pages.
Time: 21:46:34 GMT, April 16, 2011