previous: >>108661408
#define __NR_sethostname 170
#define __NR_setdomainname 171
https://man7.org/linux/man-pages/man2/sethostname.2.html
https://man7.org/linux/man-pages/man2/setdomainname.2.html
tl;dr:
<your_name>@<hostname>.<domainname>
at least, that's what i think it is. it would be pretty embarrassing to fuck that up.
anyway, even if i am, post your name@domain.host
some of you have some pretty neat ones, i'm sure
the getters for these wrap uname, which i find very interesting. it's not often that you break the get/set paradigm. i wonder why they did it that way. i guess because parts of the uname are "baked in" as it were.
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/