LocationOfPosition(3W) UNIX System V LocationOfPosition(3W)
Text Buffer Utilities
NAME
LocationOfPosition
SYNOPSIS
#include <textbuff.h>
...
extern TextLocation LocationOfPosition(text, position)
TextBuffer * text;
TextPosition position;
DESCRIPTION
The LocationOfPosition function is used to translate a position in the
text TextBuffer to a TextLocation. It returns the translated
TextLocation. If the position is invalid the Buffer pointer buffer is
set to NULL and the line and offset members are set the last valid
location in the TextBuffer; otherwise buffer is set to a non-NULL (though
useless) value.
SEE ALSO
LineOfPosition(3W), PositionOfLocation(3W), LocationOfPosition(3W)
10/89 Page 1