Visit Platform at http://www.platform.com

lsb_sysmsg

Returns a pointer to static data.

lsb_sysmsg returns a pointer to static data which stores the batch error message corresponding to lsberrno. The global variable lsberrno maintained by LSBLIB holds the error number from the most recent LSBLIB call that caused an error. If lsberrno == LSBE_SYS_CALL, then the system error message defined by errno is also returned. If lsberrno == LSBE_LSLIB, then the error message returned by ls_sysmsg is returned.

#include <lsf/lsbatch.h>

char *lsb_sysmsg (void)

Parameters:
void 
Data Structures:
none
Define Statements:
none
Returns:
char *:Return LSBATCH error message defined by lsberrno.
If lsberrno == LSBE_SYS_CALL, then the system error message defined by errno is also returned.
If lsberrno == LSBE_LSLIB, then the error message returned by ls_sysmsg is returned.

NULL
Function failed.

Errors:
If the function fails, lsberrno is set to indicate the error.
Equivalent line commands:
none
Files:
none
See also:
ls_perror

ls_sysmsg



     
Date Modified: 28 Jun 2011
Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2011 Platform Computing Corporation. All rights reserved.