radcli_avp_...gigawords64(3)

πŸ“¦ version 2.0.1, in arch rolling

πŸ’… radcli_avp_get_gigawords64 β€” ngl this is the girlies' manual page

okay so bestie, you know how this whole thing lives in the <radcli/> headers and the page itself is filed under radcli_avp_...gigawords64(3) in the man pages? yeah. that's us. hi. πŸŽ€

✨ NAME ✨

radcli_avp_get_gigawords64 β€” literally reassembles a 64-bit counter out of an Octets/Gigawords attribute pair. that's it, that's the whole job πŸ’…


🌸 SYNOPSIS 🌸

#include <radcli/>

int radcli_avp_get_gigawords64(
    const radcli_ctx       *ctx,
    const radcli_avp_list  *list,
    const radcli_attr_def  *octets,
    uint64_t               *out
);

πŸ¦‹ DESCRIPTION πŸ¦‹

it's giving "reassemble a 64-bit counter from an Octets/Gigawords attribute pair." icon behavior honestly. look at the parameters below, they're the main characters.

πŸ’– PARAMETERS πŸ’–

  • ctx β€” the context octets was looked up from; go read radcli_avp_add_gigawords64() for the lore 🫢
  • list β€” the list we're searching, and we do that via radcli_avp_get(), periodt.
  • octets β€” the octets attribute itself. its dictionary entry must declare a gigawords= counterpart, same deal as for radcli_avp_add_gigawords64(). no counterpart, no vibes.
  • out β€” where the reassembled value gets written. it may be NULL if you literally just wanna check validity, which is such a mood tbh πŸ™ˆ

πŸ”₯ RETURN VALUE πŸ”₯

  • 0 β€” success, slay ✨
  • -1 β€” the vibe check failed. specifically: octets has no configured gigawords counterpart, or list has no octets attribute, or the gigawords attribute is present but has the wrong type. any of those three, you're getting a -1 😭
bestie pls note: -1 covers three separate situations, so don't assume which one unless you actually know. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

so many cousins, she's got a whole family 🌈


okay that's the whole page bestie go touch some attributes πŸ’–

this one's from radcli, dated 2026-10-10, and it's filed as radcli_avp_...gigawords64(3) β€” mwah, bye 🧚

πŸ“¦ where this page comes from