iob_addbuf(3diet)

NAME

iob_addbuf - add buffer to I/O batch

SYNTAX

#include <iob.h>

void iob_addbuf(io_batch* b,const void* buf,uint64 n);

DESCRIPTION

iob_addbuf schedules n bytes starting at buf to be written with the I/O batch b.

Use iob_addbuf_free if you want the buffer to be deallocated automatically by iob_reset.

SEE ALSO

iob_reset(3), iob_send(3), iob_addbuf_free(3), iob_adds(3), iob_addfile(3)
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout