IBM

ls_sysmsg

Obtains LSF error messages.

ls_sysmsg is a LSLIB library routine for obtaining LSF error messages. The global variable lserrno, maintained by LSLIB, indicates the error number of the most recent LSLIB call that caused an error.

ls_sysmsg returns a character string that contains an error message that corresponds to the current value of lserrno. If an LSLIB call failed due to a system call, then the system error message as indicated by errno is included in the error message.

#include <lsf/lsf.h>
char *ls_sysmsg(void)

Parameters:
none 
Data Structures:
none
Define Statements:
none
Returns:
char *:Return Load Sharing System error message defined by lserrno.
Function was successful.

NULL
Function failed.

Errors:
Systems that conform to the Single UNIX specification are not required to detect error conditions for this function.
Equivalent line commands:
none
Files:
lsf/lsf.h
See also:
ls_perror

ls_errlog



     
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.