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

ls_perror

Prints LSF error messages.

ls_perror is a LSLIB library routine for printing 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_perror prints on the standard error output the char string usrMsg, if it is not a null pointer, followed by a colon and a space, then an error message that describes the error that corresponds to the value of lserrno, followed by a newline. If an LSLIB call failed due to a system error, then the system error message as indicated by errno is included in the error message.

#include <lsf/lsf.h>

void ls_perror(char *usrMsg)

Parameters:
*usrMsg The standard output error string.
Data Structures:
none
Define Statements:
none
Returns:
void
There is no return value.
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_ENVDIR:-/etc}/lsf.conf
See also:
ls_sysmsg

ls_errlog



     
Date Modified: 9 Sep 2009
Platform Support: support@platform.com
Platform Information Development: doc@platform.com

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