TSfgets - TSfgets API function
Contents
Copyright
2025, dev@trafficserver.apache.org
9.2 May 22, 2025 TSFGETS(3ts)
Description
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.
Name
TSfgets - TSfgets API function
Synopsis
#include <ts/ts.h>
char*TSfgets(TSFilefilep,char*buf,size_tlength)