libjf API reference guide

Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

jf_errors.c File Reference

#include <jf/jf_config.h>
#include <jf/jf_errors.h>

Go to the source code of this file.

Functions

const char * jf_strerror (int ret_cod)


Function Documentation

const char* jf_strerror int  ret_cod  ) 
 

PUBLIC METHOD
Retrieve the description associated to a return/reason code

Parameters:
ret_cod IN return/reason code of the desired description
Returns:
a const string containing a description of reason code
Definition at line 28 of file jf_errors.c.

References JF_RC_BYPASSED_OPERATION, JF_RC_COLD_RECOVERY_NEEDED, JF_RC_CONTAINER_FULL, JF_RC_DAMAGED_JOURNAL, JF_RC_DESTINATION_TOO_SMALL, JF_RC_EOF, JF_RC_FCLOSE_ERROR, JF_RC_FDATASYNC_ERROR, JF_RC_FFLUSH_ERROR, JF_RC_FILE_ALREADY_EXISTS, JF_RC_FILE_NOT_ABOVE_JOURNAL, JF_RC_FILENO_ERROR, JF_RC_FOPEN_ERROR, JF_RC_FPUTC_ERROR, JF_RC_FREAD_ERROR, JF_RC_FSEEK_ERROR, JF_RC_FSTAT_ERROR, JF_RC_FSYNC_ERROR, JF_RC_FTELL_ERROR, JF_RC_FTRUNCATE_ERROR, JF_RC_FWRITE_ERROR, JF_RC_GETTIMEOFDAY_ERROR, JF_RC_INTERNAL_ERROR, JF_RC_INVALID_CTRL_CODE, JF_RC_INVALID_OPTION, JF_RC_INVALID_PATH_NAME, JF_RC_INVALID_STATUS, JF_RC_INVALID_STREAM_POSITION, JF_RC_JOURNAL_OUT_OF_SPACE, JF_RC_MAGIC_NUMBER_ERROR, JF_RC_MALLOC_ERROR, JF_RC_NULL_OBJECT, JF_RC_OBJ_CORRUPTED, JF_RC_OBJ_NOT_FOUND, JF_RC_OBJ_NOT_VOID, JF_RC_OK, JF_RC_OUT_OF_RANGE, JF_RC_REALLOC_ERROR, JF_RC_RENAME_ERROR, JF_RC_SYSCONF_ERROR, JF_RC_TIMES_ERROR, JF_RC_UNLINK_ERROR, JF_RC_UNSUPPORTED_FUNCTION, JF_RC_VERSION_ERROR, and JF_RC_VSNPRINTF_ERROR.

Referenced by main().


Copyright 2005 © Tiian