LineOfPosition(3W) — MISC. REFERENCE MANUAL PAGES
Text Buffer Utilities
NAME
LineOfPosition
SYNOPSIS
#include <textbuff.h>
...
extern int LineOfPosition(text, position)
TextBuffer ∗ text;
TextPosition position;
DESCRIPTION
The LineOfPosition function is used to translate a position in the text TextBuffer to a line index. It returns the translated line index or EOF if the position is invalid.
SEE ALSO
LineOfPosition(3), PositionOfLocation(3), LocationOfPosition(3)
Sun Release 4.0 — Last change: