linux-scalability-benchmarks / libowfat / buffer / buffer_puts.3

The default branch has multiple heads

.TH buffer_puts 3
buffer_puts \- write ASCIIZ string to buffer
.B #include <buffer.h>

int \fBbuffer_puts\fP(buffer* \fIb\fR,const char* \fIx\fR);
buffer_puts is like buffer_put with \fIlen\fR determined as the number
of bytes before the first \\0 in \fIx\fR.

The difference to buffer_putsalign is that, when there isn't enough space
for new data, buffer_puts calls buffer_flush before copying any data,
while buffer_putsalign fills all available space with data before calling
buffer_puts returns 0 if everything was fine, -1 on error (setting
buffer_putsalign(3), buffer_put(3), buffer_flush(3), buffer(3)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.