FUNCTION::SET_LONG_A(3stap)

πŸ’– FUNCTION::SET_LONG_A β€” bestie edition πŸ’–

okay so real talk, this page lives in the 3stap manual, under the Context Functions umbrella, and it's all about one lil' function that goes by function::set_long_arg. yes it's short. yes it's iconic. let's get into it 🫢


✨ NAME ✨

function::set_long_arg β€” set an argument as a signed long πŸ’…


🌸 SYNOPSIS 🌸

set_long_arg(n:long,v:long)

like. that's the whole thing. two args, no drama, main character energy πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • n β€” the index of the argument you wanna set. which one are we messing with, bestie? 🧚
  • v β€” the value you're setting it to. the actual number. the payload. periodt ⭐

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea β˜• β€” set_long_arg sets the value of argument n as a signed long.

and here's the part where you gotta pay attention, fr fr: on architectures where a long is 32 bits, the value gets sign-extended to 64 bits. that's not a vibe check, that's just how the architecture do πŸ’€


🌈 SEE ALSO 🌈


okay that's the whole page, no cap. this was SystemTap Tapset Reference, dropped back in September 2026, and you just read the 3stap entry for function::set_long_arg. slay, ate, left no crumbs πŸ“βœ¨ bye bestie! πŸ’–πŸ¦‹

πŸ“¦ where this page comes from