Rechercher une page de manuel
nodeupdown_errnum
Langue: en
Version: August 2003 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
nodeupdown_errnum, nodeupdown_strerror, nodeupdown_errormsg, nodeupdown_perror - nodeupdown error routinesSYNOPSIS
#include <nodeupdown.h>int nodeupdown_errnum(nodeupdown_t handle);
char *nodeupdown_strerror(int errnum);
char *nodeupdown_errormsg(nodeupdown_t handle);
void nodeupdown_perror(nodeupdown_t handle, const char *msg);
DESCRIPTION
nodeupdown_errnum() returns the error code stored in handle.nodeupdown_strerror() returns a pointer to a string describing the error code errnum.
Generally, an error code is retrieved by nodeupdown_errnum() and then passed to nodeupdown_strerror().
nodeupdown_errormsg() returns a pointer to a string describing the error stored in handle. It is logically equivalent to:
char *nodeupdown_strerror(nodeupdown_errnum(nodeupdown_t handle));
nodeupdown_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/nodeupdown.hContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre