Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

lsb_init()

Initializes the LSF batch library (LSBLIB), and gets the configuration environment.

DESCRIPTION

You must use lsb_init() before any other LSBLIB library routine in your application.

SYNOPSIS

#include <lsf/lsbatch.h> 
int lsb_init(char *appname) 

PARAMETERS

*appName

The name of your application.

If appName holds the name of your application, a logfile with the same name as your application receives LSBLIB transaction information.

If appName is NULL, the logfile $LSF_LOGDIR/bcmd receives LSBLIB transaction information.

RETURN VALUES

integer:0

The function was successful.

integer:-1

The function failed.

ERRORS

If the function fails, lsberrno is set to indicate the error.

SEE ALSO

Related APIs:

none

Equivalent line command

none

Files:

none


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next