Knowledge Center Contents Previous Next |
ls_sysmsg()
Obtains LSF error messages.
DESCRIPTION
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.
SYNOPSIS
#include <lsf/lsf.h> char *ls_sysmsg(void)RETURN VALUES
char:
Function was successful.
char:NULL
Function failed.
ERRORS
Systems that conform to the Single UNIX specification are not required to detect error conditions for this function. - Error handling
SEE ALSO
Related APIs
ls_perror()
ls_errlog()
Equivalent line command
none
Files
lsf/lsf.h
Platform Computing Inc.
www.platform.com |
Knowledge Center Contents Previous Next |