Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vsnprintf.cpp File Reference
#include <sys/types.h>
#include <ctype.h>
#include <stdarg.h>
#include "dibbler-config.h"
+ Include dependency graph for vsnprintf.cpp:

Macros

#define LARGE   64
#define LEFT   16
#define PLUS   4
#define SIGN   2
#define SPACE   8
#define SPECIAL   32
#define ZEROPAD   1

Functions

static char * number (char *str, long num, int base, int size, int precision, int type, size_t *max_size)
static int skip_atoi (const char **s)
int snprintf (char *buf, size_t size, const char *fmt,...)
static size_t strnlen (const char *s, size_t count)
int vsnprintf (char *buf, size_t size, const char *fmt, va_list args)

Macro Definition Documentation

#define LARGE   64
#define LEFT   16
#define PLUS   4
#define SIGN   2
#define SPACE   8
#define SPECIAL   32
#define ZEROPAD   1

Function Documentation

static char* number ( char *  str,
long  num,
int  base,
int  size,
int  precision,
int  type,
size_t *  max_size 
)
static
static int skip_atoi ( const char **  s)
static
int snprintf ( char *  buf,
size_t  size,
const char *  fmt,
  ... 
)
static size_t strnlen ( const char *  s,
size_t  count 
)
static
int vsnprintf ( char *  buf,
size_t  size,
const char *  fmt,
va_list  args 
)