pbs_geterrmsg (3) - Linux Man Pages
pbs_geterrmsg: get error message for last pbs batch operation
pbs_geterrmsg - get error message for last pbs batch operation
char *pbs_geterrmsg(int connect)
DESCRIPTIONReturn the error message text associated with a batch server request.
If the preceding batch interface library call over the connection specified by resulted in an error return from the server, there may be an associated text message. If it exists, this function will return a pointer to the null terminated text string.
DIAGNOSTICSIf an error text message was returned by a server in reply to the previous call to a batch interface library function, pbs_geterrmsg() will return a pointer to it. Otherwise, pbs_geterrmsg() returns the null pointer.