TSfgets(3ts)

TSfgets3ts

Tsfgets api function

Usage

#include <ts/ts.h>
char *TSfgets(TSFile filep, char *buf, size_t length)

Overview

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.

Releases

3 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11
  3. 12

From trafficserver-dev 9.2.5+ds-0+deb12u4 in Debian 12 (Bookworm). Parsed by carta from the page's man source.