ls_isconnected
Tests if the specified host is currently connected with the application.ls_isconnected tests if the specified host is currently connected with the application. A connection is established on the first successful return from an ls_connect, ls_rtask, ls_rtaske, ls_rexecv, or ls_rexecve call.
Any program using these routines must call ls_initrex first.
Any program using these routines must be setuid to root if LSF_AUTH is not defined in the lsf.conf file.
#include <lsf/lsf.h>
int ls_isconnected(char *hostName)
Data Structures:
- Parameters:
*hostname The host that is tested for connection with an application. Define Statements:
- none
- none
Errors:
- Returns:
- int:non-zero
Function was successful.int:0
Function failed.Equivalent line commands:
- Systems that conform to the Single UNIX specification are not required to detect error conditions for this function.
Files:
- none
- none
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.