BUF_PUTS(3) - Library Functions Manual
buf_puts - append a NUL-terminated string
#include <buf.h>
int
buf_puts(struct buf *b, const char
*src);
Append the NUL-terminated string src into the buffer specified by b.
It is undefined behavior if src argument is NULL.
The buf_puts() function returns -1 in case of error and errno is set to indicate the error.
[ENOMEM
]
Couldn’t allocate more memory.
libbuf(3)
The libbuf library was written by David Demelier <markand@malikania.fr>
macOS 12.5 - October 29, 2019-2022