#include "debug.h"
#include "util.h"
#include <linux/kernel.h>
#include <errno.h>
Go to the source code of this file.
|
int | strbuf_init (struct strbuf *sb, ssize_t hint) |
|
void | strbuf_release (struct strbuf *sb) |
|
char * | strbuf_detach (struct strbuf *sb, size_t *sz) |
|
int | strbuf_grow (struct strbuf *sb, size_t extra) |
|
int | strbuf_addch (struct strbuf *sb, int c) |
|
int | strbuf_add (struct strbuf *sb, const void *data, size_t len) |
|
static int | strbuf_addv (struct strbuf *sb, const char *fmt, va_list ap) |
|
int | strbuf_addf (struct strbuf *sb, const char *fmt,...) |
|
ssize_t | strbuf_read (struct strbuf *sb, int fd, ssize_t hint) |
|
◆ strbuf_add()
int strbuf_add |
( |
struct strbuf * |
sb, |
|
|
const void * |
data, |
|
|
size_t |
len |
|
) |
| |
◆ strbuf_addch()
int strbuf_addch |
( |
struct strbuf * |
sb, |
|
|
int |
c |
|
) |
| |
◆ strbuf_addf()
int strbuf_addf |
( |
struct strbuf * |
sb, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ strbuf_addv()
static int strbuf_addv |
( |
struct strbuf * |
sb, |
|
|
const char * |
fmt, |
|
|
va_list |
ap |
|
) |
| |
|
static |
◆ strbuf_detach()
char* strbuf_detach |
( |
struct strbuf * |
sb, |
|
|
size_t * |
sz |
|
) |
| |
◆ strbuf_grow()
int strbuf_grow |
( |
struct strbuf * |
sb, |
|
|
size_t |
extra |
|
) |
| |
◆ strbuf_init()
int strbuf_init |
( |
struct strbuf * |
sb, |
|
|
ssize_t |
hint |
|
) |
| |
◆ strbuf_read()
ssize_t strbuf_read |
( |
struct strbuf * |
sb, |
|
|
int |
fd, |
|
|
ssize_t |
hint |
|
) |
| |
◆ strbuf_release()
void strbuf_release |
( |
struct strbuf * |
sb | ) |
|
◆ strbuf_slopbuf