Knowledge Center Contents Previous Next |
ls_donerex()
Kills the Network I/O server (NIOS) and restores the tty environment before a remote execution connection is closed.
DESCRIPTION
ls_donerex() kills the Network I/O server (NIOS) and restores the tty environment before a remote execution connection is closed. You need to call this routine only if a remote execution was started by either ls_rtask() or ls_rtaske(), and the option REXF_USEPTY was set. If the application exits without calling this routine, the terminal may behave abnormally on occasion. If the option REXF_USEPTY is not specified when either ls_rtask() or ls_rtaske() is called, there is no need to call ls_donerex().
Any program using this routine must call ls_initrex() first.
Any program using this API must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.
SYNOPSIS
#include <lsf/lsf.h> int ls_donerex(void)RETURN VALUES
integer:0
Function was successful.
integer:-1
Function failed.
ERRORS
If the function fails, lserrno is set to indicate the error.
SEE ALSO
Related APIs
ls_initrex()
ls_rtask()
ls_rtaske()
Equivalent line command
none
Files
${LSF_ENVDIR-/etc}/lsf.conf
Platform Computing Inc.
www.platform.com |
Knowledge Center Contents Previous Next |