mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 02:21:44 +03:00
fc2fffe770
The macro determines the right length of a AF_UNIX "struct sockaddr_un" to pass to connect() or bind(). It automatically figures out if the socket refers to an abstract namespace socket, or a socket in the file system, and properly handles the full length of the path field. This macro is not only safer, but also simpler to use, than the usual offsetof() + strlen() logic. |
||
---|---|---|
.. | ||
cgroups-agent.c | ||
Makefile |