pbs_geterrmsg(3B)
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 ofpbs_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
- nixos 26.05: openpbs 23.06.06-unstable-2026-04-02
- nixpkgs unstable: openpbs 23.06.06-unstable-2026-04-02
- Copyright (C) 1994-2021 Altair Engineering, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms