TSfread
Synopsis
#include <ts/ts.h>
Description
Attempts to read length bytes of data from the file pointed to by filep into the buffer buf. The behavior is undefined if length is greater than SSIZE_MAX.
Return Value
Returns the number of bytes read on success, or -1 on failure.