leafnode  1.12.0
About: Leafnode is a store & forward NNTP proxy for small (dialup) sites.
  Fossies Dox: leafnode-1.12.0.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

xsnprintf.c File Reference
#include "leafnode.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
Include dependency graph for xsnprintf.c:

Go to the source code of this file.

Functions

static void complain (const char *t, int r, const char *s, int er, const char *es)
 
static void test (const char *t, int er, const char *es, int siz, const char *f,...)
 
int main (void)
 

Variables

static int rc = EXIT_SUCCESS
 

Function Documentation

◆ complain()

static void complain ( const char *  t,
int  r,
const char *  s,
int  er,
const char *  es 
)
static

Definition at line 13 of file xsnprintf.c.

References rc.

Referenced by test().

◆ main()

int main ( void  )

Definition at line 33 of file xsnprintf.c.

References rc, and test().

◆ test()

static void test ( const char *  t,
int  er,
const char *  es,
int  siz,
const char *  f,
  ... 
)
static

Definition at line 18 of file xsnprintf.c.

References complain(), and vsnprintf.

Referenced by main().

Variable Documentation

◆ rc

int rc = EXIT_SUCCESS
static