pbs_geterrmsg(3B)

πŸ“¦ version 6.1.3, in epel 9, nixos 26.05, nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to pbs_geterrmsg(3B) from the PBS manual ✨ β€” this one is literally here to get the error message for the last pbs batch operation 🫢

✨ SYNOPSIS ✨

#include <pbs_error.h>
#include <pbs_ifl.h>

char *pbs_geterrmsg(int connect)

πŸŽ€ DESCRIPTION πŸŽ€

So this function returns the error message text that’s associated with a batch server request πŸ’…

If the preceding batch interface library call over the connection specified by connect resulted in an error return from the server, there may be an associated text message πŸ‘€ If that message exists, this function will return a pointer to the null terminated text string ⭐

🌈 SEE ALSO 🌈

  • pbs_connect(3B) β€” the other page you should peek at, bestie πŸ¦‹

πŸ’€ DIAGNOSTICS πŸ’€

If 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 πŸ™ˆ


cute little sign-off from the Local corner of the manual, page pbs_geterrmsg(3B) β€” no date line on this one, bestie πŸŽ€πŸ’œ

πŸ“¦ where this page comes from