radcli_avp...ds64_by_num(3)

πŸ“¦ version 2.0.1, in arch rolling

πŸŽ€ radcli_avp_get_gigawords64_by_num(3) πŸŽ€

okay so this is a page from the Radius client library (that's the radcli fam), and yes the man page name got squished into radcli_avp...ds64_by_num(3) at the top β€” that's just how the header rolls, don't stress πŸ’… the real function name is radcli_avp_get_gigawords64_by_num, and she is the main character here.


✨ NAME ✨

radcli_avp_get_gigawords64_by_num β€” look up the octets attribute by its legacy numeric ID and reassemble a 64-bit counter out of an Octets/Gigawords pair. basically glow-up a two-part counter into one big number, no cap 🫢


🌸 SYNOPSIS 🌸

#include <radcli/>

int radcli_avp_get_gigawords64_by_num(
    const radcli_ctx       *ctx,
    const radcli_avp_list  *list,
    uint32_t                attrid,
    uint32_t                vendor,
    uint64_t               *out
);

πŸ¦‹ DESCRIPTION πŸ¦‹

this page keeps it lowkey and goes straight to the deets β€” the actual lore lives in the parameters and the return value below, bestie πŸ’–


πŸ’œ PARAMETERS πŸ’œ

  • ctx β€” a context with a dictionary loaded. yes she needs her dictionary, it's giving study buddy energy πŸ“š
  • list β€” the list to search. this is the roster we're scrolling through πŸ”
  • attrid β€” the octets attribute's ID, e.g. PW_ACCT_INPUT_OCTETS. the legacy numeric one, iykyk
  • vendor β€” the vendor PEN, or 0 for a standard attribute. zero means "no vendor, we're vanilla" ✨
  • out β€” where to write the reassembled value. may be NULL to just check validity β€” like, you can peek without committing, respect πŸ™ˆ

🌈 RETURN VALUE 🌈

  • 0 on success πŸŽ‰
  • -1 on failure β€” either there's no such attribute, or it fails the same way radcli_avp_get_gigawords64() does πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

the whole extended friend group, fr fr β€” all 40 of them:


reminder bestie: out can be NULL if you're only doing a vibe check (validity), but if you actually want the number you gotta hand over a real place to put it 🫢

k that's the whole page, mwah πŸ’‹ β€” brought to you by radcli, dated 2026-10-10, page radcli_avp...ds64_by_num(3). go read the other 40 man pages, I'll wait πŸ“πŸ§š

πŸ“¦ where this page comes from