Lines Matching refs:sbuf
36 struct sbuf;
42 struct sbuf {
57 #define SBUF_DYNSTRUCT 0x00080000 /* sbuf must be freed */
77 struct sbuf *sbuf_new(struct sbuf *, char *, int, int);
80 int sbuf_get_flags(struct sbuf *);
81 void sbuf_clear_flags(struct sbuf *, int);
82 void sbuf_set_flags(struct sbuf *, int);
83 void sbuf_clear(struct sbuf *);
84 int sbuf_setpos(struct sbuf *, ssize_t);
85 int sbuf_bcat(struct sbuf *, const void *, size_t);
86 int sbuf_bcpy(struct sbuf *, const void *, size_t);
87 int sbuf_cat(struct sbuf *, const char *);
88 int sbuf_cpy(struct sbuf *, const char *);
89 int sbuf_printf(struct sbuf *, const char *, ...)
91 int sbuf_vprintf(struct sbuf *, const char *, __va_list)
93 int sbuf_nl_terminate(struct sbuf *);
94 int sbuf_putc(struct sbuf *, int);
95 void sbuf_set_drain(struct sbuf *, sbuf_drain_func *, void *);
96 int sbuf_drain(struct sbuf *);
97 int sbuf_trim(struct sbuf *);
98 int sbuf_error(const struct sbuf *);
99 int sbuf_finish(struct sbuf *);
100 char *sbuf_data(struct sbuf *);
101 ssize_t sbuf_len(struct sbuf *);
102 int sbuf_done(const struct sbuf *);
103 void sbuf_delete(struct sbuf *);
104 void sbuf_start_section(struct sbuf *, ssize_t *);
105 ssize_t sbuf_end_section(struct sbuf *, ssize_t, size_t, int);
106 void sbuf_hexdump(struct sbuf *, const void *, int, const char *,
110 void sbuf_putbuf(struct sbuf *);
114 struct sbuf *sbuf_uionew(struct sbuf *, struct uio *, int *);
115 int sbuf_bcopyin(struct sbuf *, const void *, size_t);
116 int sbuf_copyin(struct sbuf *, const void *, size_t);