buffer_fromsa 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_fromsa(3)					      buffer_fromsa(3)

NAME
       buffer_fromsa - initialize buffer structure from stralloc

SYNTAX
       #include <buffer.h>

       void buffer_fromsa(buffer* b,stralloc* sa);

DESCRIPTION
       buffer_fromsa  makes a virtual read buffer from a stralloc.  The buffer
       reading functions will be able to read until the end of the data in the
       stralloc,  then	signal	EOF.   The buffer does not have its own buffer
       space, it reuses the one in the stralloc.

       Do not touch the stralloc until your are done with the buffer!  In par‐
       ticular, do not call stralloc_free on it!

       Reading data from the buffer will not change the stralloc.

SEE ALSO
       buffer_init(3), buffer(3)

							      buffer_fromsa(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