src/strerror.c File Reference

#include <string.h>
#include "rdd.h"
#include "rdd_internals.h"

Include dependency graph for strerror.c:

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)


Function Documentation

static int copymsg ( char *  buf,
unsigned  bufsize,
char *  msg 
) [static]

Definition at line 43 of file strerror.c.

References RDD_BADARG, RDD_NOMEM, and RDD_OK.

static char* get_message ( int  rc  )  [static]

int rdd_strerror ( int  rc,
char *  buf,
unsigned  bufsize 
)

Definition at line 103 of file strerror.c.

References copymsg(), get_message(), and RDD_BADARG.

Here is the call graph for this function:


Generated on Sun Feb 6 12:36:38 2011 for rdd by  doxygen 1.5.6