Issues the prev command.
| Library: | LPEXAPI.H |
|---|---|
| Include File: | LPEXAPI.H |
C Syntax
int lxprev();
Description
The lxprev subroutine provides a faster way of issuing the prev command from a C program. It has the same effect as calling lxcmd("prev").
Example
To move to the previous line, type:
int rc; rc = lxprev();
Return Value
lxprev gives a return code of 1 if it is already on the first line . It returns a code of 0 if successful.
![]()
Building External Commands Written in
the C Language
lxcmd() Subroutine
lxnext() Subroutine
prev Command
