FreeBSD Manual Pages
buffer_getline(3) Library Functions Manual buffer_getline(3) NAME buffer_getline - read line from buffer SYNTAX #include <libowfat/buffer.h> ssize_t buffer_getline(buffer* b,char* x,size_t len); DESCRIPTION buffer_getline copies data from b to x[0], x[1], ..., x[len-1] until len bytes have been copied or a new-line character ('\n') is encoun- tered. That character is also copied. Note that line is not 0-terminated to make reading lines with 0-bytes possible through this interface. RETURN VALUE Number of bytes read (without '\n'), -1 on error (setting errno). SEE ALSO buffer_init(3), buffer_feed(3), buffer_peek(3), buffer_seek(3), buffer(3) buffer_getline(3)
NAME | SYNTAX | DESCRIPTION | RETURN VALUE | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_buffer_getline&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>