do_sysinfo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… do_sysinfo β€” the kernel API manual, bestie edition ✨

okay so real talk, this is do_sysinfo(9) from the Kernel API Manual, and she's a tiny one but she matters πŸ’–


🌸 NAME 🌸

do_sysinfo β€” literally just fills in the sysinfo struct. that's the whole job. that's her whole personality. and she ate πŸŽ€

✨ SYNOPSIS ✨

int do_sysinfo (struct sysinfo *info );

that's it. that's the signature. look at her go πŸ”₯

πŸ¦‹ ARGUMENTS πŸ¦‹

  • info β€” pointer to the buffer you wanna fill 🫢 like, this is the thing getting stuffed with sysinfo goodness. hand her the pointer, she does the rest, no cap.

πŸ‘‘ SEE ALSO πŸ‘‘

  • the kernel file ./kernel/sys.c β€” yeah that's where she lives, go say hi πŸ’œ
  • sys_getpid(9) β€” her sibling, also iconic, also worth a read ✨

lowkey a reminder that info is a pointer to a buffer to fill β€” so pls actually give her a real buffer to point at, mwah πŸ™ˆ

that's the whole page bestie, go forth and sysinfo 🌈

πŸ¦‹ from ./kernel, dated October 2026 β€” mwah, love u, bye πŸ’…βœ¨

πŸ“¦ where this page comes from