port-line

[procedure] port-line port

SCM: If port is a tracked port, returns the current line number. See also port-column, port-filename.

Some implementations have port-current-line, current-row.