Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on File Descriptor Transfer over Unix Domain Sockets. Parent comment
Here's the OpenBSD version, which is quite typical - https://man.openbsd.org/CMSG_DATA.3.
It's literally a no-brainer to code it all correctly on the first try. So the scary stuff on your list is exactly of the same nature as using printf() without reading the spec and then calling it "incredibly sharp".
There are no comments on this comment yet.
Here's the OpenBSD version, which is quite typical - https://man.openbsd.org/CMSG_DATA.3.
It's literally a no-brainer to code it all correctly on the first try. So the scary stuff on your list is exactly of the same nature as using printf() without reading the spec and then calling it "incredibly sharp".