GNL (getline system built function)is a function that returns a line read from a file descriptor in C-Language.
- Extracts character up to the terminator('\n').
- Stores the characters in the buffer temporary while it is being moved to another place.
- Maximum number of characters extracted is size – 1.
- The terminator character is read from the file discriptor but not saved into a buffer, instead it is replaced by the null character.