IncrementTextBufferLocation(3W) UNIX System V IncrementTextBufferLocation(3W)
Text Buffer Utilities
NAME
IncrementTextBufferLocation
SYNOPSIS
#include <textbuff.h>
...
extern TextLocation IncrementTextBufferLocation(text, location, line,
offset)
TextBuffer * text;
TextLocation location;
TextLine line;
TextPosition offset;
DESCRIPTION
The IncrementTextBufferLocation function is used to increment a location
by either line lines and/or offset characters. It returns the new
location. Note: if line or offset are negative the function performs a
decrement operation. If the starting location or the resulting location
is invalid the starting location is returned without modification;
otherwise the new location is returned.
SEE ALSO
NextLocation(3W), PreviousLocation(3W)
10/89 Page 1