Functions
printbuf.c File Reference
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bits.h"
#include "debug.h"
#include "printbuf.h"
Include dependency graph for printbuf.c:

Go to the source code of this file.

Functions

void printbuf_free (struct printbuf *p)
int printbuf_memappend (struct printbuf *p, const char *buf, int size)
struct printbufprintbuf_new ()
void printbuf_reset (struct printbuf *p)
int sprintbuf (struct printbuf *p, const char *msg,...)
static int vasprintf (char **buf, const char *fmt, va_list ap)

Function Documentation

void printbuf_free ( struct printbuf p)

Definition at line 138 of file printbuf.c.

int printbuf_memappend ( struct printbuf p,
const char *  buf,
int  size 
)

Definition at line 43 of file printbuf.c.

struct printbuf* printbuf_new ( void  ) [read]

Definition at line 28 of file printbuf.c.

void printbuf_reset ( struct printbuf p)

Definition at line 132 of file printbuf.c.

int sprintbuf ( struct printbuf p,
const char *  msg,
  ... 
)

Definition at line 104 of file printbuf.c.

static int vasprintf ( char **  buf,
const char *  fmt,
va_list  ap 
) [static]

Definition at line 71 of file printbuf.c.



csm_ros
Author(s): Gaƫl Ecorchard , Ivan Dryanovski, William Morris, Andrea Censi
autogenerated on Sat Jun 8 2019 19:52:42