core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

vsnprintf.c File Reference

#include <sys/param.h>
#include <sys/types.h>
#include <sys/mman.h>
#include <signal.h>
#include <stdio.h>
#include <varargs.h>
#include <setjmp.h>
#include <unistd.h>
#include <string.h>

Defines

#define roundup(x, y)   ((((x)+((y)-1))/(y))*(y))
#define EXTRABYTES   2

Functions

static char * msetup (char *str, size_t n)
static void mcatch (int a)
static void mcleanup (char *str, size_t n, char *p)
int vsnprintf (char *str, size_t n, char *fmt, char *ap)
int snprintf (char *str, size_t n, char *fmt, va_alist)

Variables

static int pgsize
static char * curobj
static int caught
static sigjmp_buf bail


Define Documentation

#define EXTRABYTES   2

#define roundup ( x,
 )     ((((x)+((y)-1))/(y))*(y))


Function Documentation

static void mcatch ( int  a  )  [static]

static void mcleanup ( char *  str,
size_t  n,
char *  p 
) [static]

static char* msetup ( char *  str,
size_t  n 
) [static]

int snprintf ( char *  str,
size_t  n,
char *  fmt,
va_alist   
)

int vsnprintf ( char *  str,
size_t  n,
char *  fmt,
char *  ap 
)


Variable Documentation

sigjmp_buf bail [static]

int caught [static]

char* curobj [static]

int pgsize [static]


Generated on Sun Sep 27 06:47:46 2009 for Mesa Main by  doxygen 1.5.4