Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

snprintf.h File Reference

#include <stdio.h>
#include <sys/types.h>
#include <string.h>
#include <varargs.h>
#include "cdefs.h"

Go to the source code of this file.

Defines

#define VA_LOCAL_DECL   va_list ap;
#define VA_START(f)   va_start(ap)
#define VA_END   va_end(ap)
#define QUAD_T   unsigned long
#define tTd(flag, level)   (tTdvect[flag] >= (u_char)level)
#define MAXSHORTSTR   203

Functions

int snprintf (char *, size_t, const char *,...)
int vsnprintf (char *, size_t, const char *, va_list)
char * shortenstring (register const char *, int)

Variables

u_char tTdvect [100]


Define Documentation

#define MAXSHORTSTR   203
 

Definition at line 65 of file snprintf.h.

Referenced by shortenstring(), and vsnprintf().

#define QUAD_T   unsigned long
 

Definition at line 59 of file snprintf.h.

#define tTd flag,
level   )     (tTdvect[flag] >= (u_char)level)
 

Definition at line 64 of file snprintf.h.

Referenced by vsnprintf().

#define VA_END   va_end(ap)
 

Definition at line 50 of file snprintf.h.

Referenced by snprintf().

#define VA_LOCAL_DECL   va_list ap;
 

Definition at line 48 of file snprintf.h.

Referenced by snprintf().

#define VA_START  )     va_start(ap)
 

Definition at line 49 of file snprintf.h.

Referenced by snprintf().


Function Documentation

char* shortenstring register const char *  ,
int 
 

int snprintf char *  ,
size_t  ,
const char *  ,
  ...
 

int vsnprintf char *  ,
size_t  ,
const char *  ,
va_list 
 

Definition at line 103 of file snprintf.c.


Variable Documentation

u_char tTdvect[100]
 

Definition at line 67 of file snprintf.h.


Generated on Sun May 14 14:51:27 2006 by  doxygen 1.4.2