line_position/2line_position(+Stream, -N)
Unifies N with the total number of characters either read or written on the current line of Stream.
A fresh line has a line position of 0. See ref-iou-sos-spt, for details on the use of this predicate on a stream that is directed to the user's terminal.
Stream errors (see ref-iou-sfh-est)
character_count/2, line_count/2,
stream_position/3
ref-iou