prandom_seed_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so, bestie, welcome to prandom_seed_state(9) from the Kernel API Manual β€” she is literally the one who sets the seed for prandom_u32_state(). The name is giving prandom_seed_state β€” set seed for prandom_u32_state(). Periodt. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

The signature is right here, and yes, it is exact because we do not mess with the code:

void prandom_seed_state (struct rnd_state *state , u64 seed );

πŸŽ€ ARGUMENTS πŸŽ€

okay so, the arguments are lowkey simple and highkey important:

  • state β€” pointer to the state structure that receives the seed. 🫢
  • seed β€” arbitrary 64-bit value to use as a seed. πŸ”₯

🌈 SEE ALSO 🌈

for more kernel lore, go peek at:

that's the whole circle, bestie ✨


xoxo, your kernel bestie πŸ’– β€” source/version: ./tools/include/linux, date: October 2026, page: prandom_seed_state(9).

πŸ“¦ where this page comes from