#include <string.h>
#include "rdd.h"
#include "rdd_internals.h"
Go to the source code of this file.
Functions | |
static int | copymsg (char *buf, unsigned bufsize, char *msg) |
static char * | get_message (int rc) |
int | rdd_strerror (int rc, char *buf, unsigned bufsize) |
static int copymsg | ( | char * | buf, | |
unsigned | bufsize, | |||
char * | msg | |||
) | [static] |
static char* get_message | ( | int | rc | ) | [static] |
Definition at line 58 of file strerror.c.
References RDD_ABORTED, RDD_BADARG, RDD_EAGAIN, RDD_ECLOSE, RDD_ECOMPRESS, RDD_ECONNECT, RDD_EEXISTS, RDD_EOPEN, RDD_ERANGE, RDD_EREAD, RDD_ESEEK, RDD_ESPACE, RDD_ESYNTAX, RDD_ETELL, RDD_EWRITE, RDD_NOMEM, RDD_NOTFOUND, and RDD_OK.
int rdd_strerror | ( | int | rc, | |
char * | buf, | |||
unsigned | bufsize | |||
) |
Definition at line 103 of file strerror.c.
References copymsg(), get_message(), and RDD_BADARG.