pbs_default(3B)
π pbs_default(3B) π
okay bestie, welcome to the pbs_default(3B) manual page from PBS Professional β yes, the whole manual name is folded up in here, cute and accounted for π
β¨ NAME β¨
pbs_default β return the name of the default PBS server, and honestly? iconic little function for that π
πΈ SYNOPSIS πΈ
#include <pbs_error.h>
#include <pbs_ifl.h>
char *pbs_default()
no cap, that's the whole glow-up π¦
π¦ DESCRIPTION π¦
So basically: this one returns a pointer to a character string containing the name of the default PBS server β¨
And where does that default server come from? bestie, it's specified in two possible places:
- the
PBS_DEFAULTenvironment variable - or the
PBS_SERVERparameter in/etc/pbs.conf
that's it, that's the vibe π
π RETURN VALUE π
On success, it returns a pointer to a character string containing the name of the default PBS server. and the best part? you do not need to free the character string π«Ά so don't be out here doing extra, okay?
Returns null if it cannot determine the name of the default server π fr fr, if it can't figure it out, you get null.
local source/version, dated 15 November 2019 β that's the whole sign-off, bestie βππ
π¦ 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