lxnext() Subroutine

Issues the next command.

Library:
LPEXAPI.H
Include File:
LPEXAPI.H

C Syntax

int lxnext(); 

Description

The lxnext subroutine provides a faster way of issuing the next command from a C program. It has the same effect as calling: lxcmd("next").

Example

To move to the next line, type:

int rc;
rc = lxnext();

Return Value

lxnext gives a return code of 1 if it is already on the last line. It returns a code of 0 if successful.


Building External Commands Written in the C Language
lxcmd() Subroutine
next Command