previous: >>108414057
#define __NR_sysinfo 99
#define __NR_times 100
https://man7.org/linux/man-pages/man2/sysinfo.2.html
https://man7.org/linux/man-pages/man2/times.2.html
tl;dr:
get information about the system/timing information about a process
these two aren't exactly similar, but they're the same vibe and probably could have been squished together into the last thread, since they're all basically ways to get metadata about your machine and the processes running on it
if im being honest, though, the only reason i am combining these is so that tomorrow's thread will be on the weekend instead of a weekday. i have a loooot to say about that one, and i wanna make sure it doesn't die early
but anyway, back to the matter at hand.
>a portable application would be wise to avoid using this value
lmfao, then why does this even exist!!!!
same goes for
>All of the information provided by this system call is also available via /proc/meminfo and /proc/loadavg.
there is so much redundant garbage in linux it's actually unreal
relevant resources:
man man
man syscalls
https://man7.org/linux/man-pages/
https://linux.die.net/man/
https://elixir.bootlin.com/linux/
https://elixir.bootlin.com/musl/
https://elixir.bootlin.com/glibc/