1LOWDOWN_BUF_NEW(3) BSD Library Functions Manual LOWDOWN_BUF_NEW(3)
2
4 lowdown_buf_new — allocate a dynamic buffer
5
7 library “liblowdown”
8
10 #include <sys/queue.h>
11 #include <stdio.h>
12 #include <lowdown.h>
13
14 struct lowdown_buf *
15 lowdown_buf_new(size_t growsz);
16
18 Allocates a dynamic buffer that grows in increments of size growsz, which
19 may not be zero.
20
22 Returns a pointer to a buffer or NULL on memory failure. The pointer
23 must be freed with lowdown_buf_free(3).
24
26 lowdown(3)
27
28BSD December 17, 2023 BSD