Back to libut API Reference


SYNOPSIS

    #include "libut/ut.h"
    int UT_iob_append(UT_iob *iob, void *buffer, size_t len );


DESCRIPTION

This function makes a copy of the given buffer of length len and appends it to the given iob.


RETURN VALUE

This function always returns 0.

If an out-of-memory failure occurs, a Fatal message is logged and the process exits with status -1.


SEE ALSO

UT_iob_create(3), UT_iob_printf(3), UT_iob_free(3), UT_iob_writefd(3), UT_iob_bufcmp(3), UT_iob_flatten(3), UT_iob_len(3)


AUTHOR

Troy D. Hanson <thanson@users.sourceforge.net>