Scroll to navigation

TSFREAD(3ts) Apache Traffic Server TSFREAD(3ts)

NAME

TSfread - TSfread API function

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.

COPYRIGHT

2024, dev@trafficserver.apache.org

April 16, 2024 9.2