Knowledge Center Contents Previous Next |
lsb_sysmsg()
Returns a pointer to static data.
DESCRIPTION
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.
SYNOPSIS
#include <lsf/lsbatch.h> extern int lsberrno; char *lsb_sysmsg (void)RETURN VALUES
char: errno/ls_sysmsg()
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.
char:NULL
Function failed.
ERRORS
If the function fails, lsberrno is set to indicate the error.
SEE ALSO
Related API
ls_perror()
ls_sysmsg()
Equivalent line command
none
Files
none
Platform Computing Inc.
www.platform.com |
Knowledge Center Contents Previous Next |