TSfwrite

Attempts to write length bytes of data from the buffer buf to the file filep.

Synopsis

#include <ts/ts.h>

size_t TSfwrite(TSFile filep, const void *buf, size_t length) InkAPI.cc line 1827

Description

Make sure that filep is open for writing. You might want to check the number of bytes written (TSfwrite() returns this value) against the value of length. If it is less, there might be insufficient space on disk, for example.