lineptr
Lineptr is a conventional parameter name used in the POSIX getline and related functions to refer to a buffer that will hold a line read from a stream. The name does not denote a separate type or object; it is simply the pointer to the memory that stores the line text.
In C, the getline function has the signature ssize_t getline(char **lineptr, size_t *n, FILE *stream). The lineptr
The function reads from the specified stream up to and including the newline character, or until end-of-file,
Lineptr is often discussed alongside getdelim, which reads up to a specified delimiter rather than a newline.