pbs_geterrmsg(3B)

πŸ“¦ version 23.06.06-unstable-2026-04, in nixos 26.05, nixpkgs unstable

Okay bestie, this is pbs_geterrmsg(3B) from the PBS Professional manual β€” the little function that asks the server, β€œhey, what was that error text again?” and it’s giving helpful bestie energy. ✨

πŸŽ€ NAME πŸŽ€

pbs_geterrmsg β€” get error message for most recent PBS batch operation. That’s the gig. πŸ’…

✨ SYNOPSIS ✨

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

char *pbs_geterrmsg(int connect)

🌸 DESCRIPTION 🌸

Returns the most recent error message text associated with a batch server request. 🫢

If a preceding batch interface library call over the connection specified by connect returned an error from the server, the server may have created an associated text message. If there is a text message, this function returns a pointer to the text message. No cap: may is doing important work there. πŸ‘‘

πŸ’– ARGUMENTS πŸ’–

  • connect β€” Return value of pbs_connect(). Specifies the connection handle over which to request the error message from the server. It’s the handle for this lookup, bestie. πŸ“¨

πŸ”₯ RETURN VALUE πŸ”₯

If the server returned an error and created an error text string in reply to a previous batch request, this function returns a pointer to the text string. The text string is null-terminated. Slay. βœ…

If the server does not have an error text string, this function returns a null pointer. Also: the text string is a global variable; you do not need to free it. No cleanup arc required, bestie. πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

  • pbs_connect(3B)

This page is from the Local source/version and dated 15 November 2019 β€” pbs_geterrmsg(3B) out. πŸ’–βœ¨
πŸ“¦ where this page comes from