1pbs_geterrmsg(3B) PBS pbs_geterrmsg(3B)
2
3
4
6 pbs_geterrmsg - get error message for last pbs batch operation
7
9 #include <pbs_error.h>
10 #include <pbs_ifl.h>
11
12 char *pbs_geterrmsg(int connect)
13
15 Return the error message text associated with a batch server request.
16
17 If the preceding batch interface library call over the connection spec‐
18 ified by connect resulted in an error return from the server, there may
19 be an associated text message. If it exists, this function will return
20 a pointer to the null terminated text string.
21
23 pbs_connect(3B)
24
26 If an error text message was returned by a server in reply to the pre‐
27 vious call to a batch interface library function, pbs_geterrmsg() will
28 return a pointer to it. Otherwise, pbs_geterrmsg() returns the null
29 pointer.
30
31
32
33
34Local pbs_geterrmsg(3B)