print.c File Reference

#include <config.h>
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <isc/assertions.h>
#include <isc/int.h>
#include <isc/msgs.h>
#include <isc/print.h>
#include <isc/stdlib.h>
#include <isc/util.h>

Go to the source code of this file.

Defines

#define ISC__PRINT_SOURCE

Functions

int isc_print_sprintf (char *str, const char *format,...)
int isc_print_snprintf (char *str, size_t size, const char *format,...)
int isc_print_vsnprintf (char *str, size_t size, const char *format, va_list ap)


Detailed Description

Definition in file print.c.


Define Documentation

#define ISC__PRINT_SOURCE

Definition at line 28 of file print.c.


Function Documentation

int isc_print_sprintf ( char *  str,
const char *  format,
  ... 
)

Definition at line 38 of file print.c.

int isc_print_snprintf ( char *  str,
size_t  size,
const char *  format,
  ... 
)

Return length of string that would have been written if not truncated.

Definition at line 52 of file print.c.

int isc_print_vsnprintf ( char *  str,
size_t  size,
const char *  format,
va_list  ap 
)

Return length of string that would have been written if not truncated.

Definition at line 68 of file print.c.

References INSIST, and REQUIRE.


Generated on Tue Apr 28 17:41:18 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha