DOKK / manpages / debian 12 / trafficserver-dev / TSfgets.3ts.en
TSFGETS(3ts) Apache Traffic Server TSFGETS(3ts)

TSfgets - TSfgets API function

#include <ts/ts.h>



Reads a line from the file pointed to by filep into the buffer buf.

Lines are terminated by a line feed character, ' '. The line placed in the buffer includes the line feed character and is terminated with a NULL. If the line is longer than length bytes then only the first length-minus-1 bytes are placed in buf.

2023, dev@trafficserver.apache.org

November 2, 2023 9.2