![]() |
Notcurses 3.0.13
a blingful library for TUIs and character graphics
|
#include <errno.h>
#include <assert.h>
#include <string.h>
#include <stdint.h>
#include <unistd.h>
#include <inttypes.h>
#include "compat/compat.h"
#include "logging.h"
Go to the source code of this file.
Data Structures | |
struct | fbuf |
Macros | |
#define | MAPFLAGS 0 |
Typedefs | |
typedef struct fbuf | fbuf |
Functions | |
__attribute__ ((format(printf, 2, 3))) static inline int fbuf_printf(fbuf *f | |
const char | va_start (va, fmt) |
va_end (va) | |
if ((size_t) r >=f->size - f->used) | |
assert (r >=0) | |
Variables | |
const char * | fmt |
int | r = vsnprintf(f->buf + f->used, f->size - f->used, fmt, va) |
f | used = r |
static int __attribute__ | ( | (format(printf, 2, 3)) | ) |
assert | ( | r >= | 0 | ) |
if | ( | (size_t) r >=f->size - f-> | used | ) |
va_end | ( | va | ) |
const char va_start | ( | va | , |
fmt | |||
) |