Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

TSfread - TSfread API function

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.

Name

       TSfread - TSfread API function

Return Value

       Returns the number of bytes read on success, or -1 on failure.

Synopsis

          #include <ts/ts.h>

       ssize_tTSfread(TSFilefilep,void*buf,size_tlength)

See Also