Method Stdio.FILE()->ngets()


Method ngets

array(string) ngets(void|int(1..) n, bool|void not_all)

Description

Get n lines.

Parameter n

Number of lines to get, or all remaining if zero.

Parameter not_all

Set this parameter to ignore partial lines at EOF. This is useful for eg monitoring a growing logfile.