IBM

ls_donerex

Kills the Network I/O server (NIOS) and restores the tty environment before a remote execution connection is closed.

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.

#include <lsf/lsf.h>

int ls_donerex(void)

Parameters:
none 
Data Structures:
none
Define Statements:
none
Returns:
int:0
Function was successful.

int:-1
Function failed.

Errors:
If the function fails, lserrno is set to indicate the error.
Equivalent line commands:
none
Files:
${LSF_ENVDIR:-/etc}/lsf.conf
See also:
ls_initrex

ls_rtask

ls_rtaske



     
Date Modified: 16 Jul 2014

Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.