Sponsor:

Your company here, and a link to your site. Click to find out more.

lowdown_buf_new - Man Page

allocate a dynamic buffer

Library

library “liblowdown”

Synopsis

#include <sys/queue.h>
#include <stdio.h>
#include <lowdown.h>

struct lowdown_buf *
lowdown_buf_new(size_t growsz);

Description

Allocates a dynamic buffer that grows in increments of size growsz, which may not be zero.

Return Values

Returns a pointer to a buffer or NULL on memory failure. The pointer must be freed with lowdown_buf_free(3).

See Also

lowdown(3)

Referenced By

lowdown_buf_free(3).

February 3, 2024