buffer_getline man page on Alpinelinux

Man page or keyword search:  
man Server   18016 pages
apropos Keyword Search (all sections)
Output format
Alpinelinux logo
[printable version]

buffer_getline(3)					     buffer_getline(3)

NAME
       buffer_getline - read line from buffer

SYNTAX
       #include <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),  buf‐
       fer(3)

							     buffer_getline(3)
[top]

List of man pages available for Alpinelinux

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net