X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_is_fifo.xml;h=44b41abf868ee202404670738b8d58e6148b5d98;hb=1e158d273bb63883566358cbb886cd4167421df6;hp=289e1ba138c0e75e9eb46b7cdc49bb011cd2eb0c;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml index 289e1ba13..44b41abf8 100644 --- a/man/sd_is_fifo.xml +++ b/man/sd_is_fifo.xml @@ -107,13 +107,15 @@ sd_is_socket() may be called to check whether the specified file descriptor - refers to a socket. It the + refers to a socket. If the family parameter is not - AF_UNSPEC it is checked whether the socket is of the - specified family (AF_UNIX, AF_INET, ...). If the + AF_UNSPEC it is checked whether + the socket is of the specified family (AF_UNIX, + AF_INET, ...). If the type parameter is not 0 it is checked whether the socket is of the specified type - (SOCK_STREAM, SOCK_DGRAM, ...). If the + (SOCK_STREAM, + SOCK_DGRAM, ...). If the listening parameter is positive it is checked whether the socket is in accepting mode, i.e. listen() has been called for @@ -129,14 +131,14 @@ optionally checks the IPv4 or IPv6 port number the socket is bound to, unless port is zero. For this call family - must be passed as either AF_UNSPEC, AF_INET or - AF_INET6. + must be passed as either AF_UNSPEC, AF_INET, or + AF_INET6. sd_is_socket_unix() is similar to sd_is_socket(), but - optionally checks the AF_UNIX path the socket is bound + optionally checks the AF_UNIX path the socket is bound to, unless the path parameter - is NULL. For normal file system AF_UNIX sockets set + is NULL. For normal file system AF_UNIX sockets set the length parameter to 0. For Linux abstract namespace sockets set the length to the size of the @@ -180,8 +182,8 @@ For details about the algorithms check the liberally licensed reference implementation sources: - - resp. + and sd_is_fifo() and the @@ -190,13 +192,12 @@ sd-daemon.h files. These interfaces are available as shared library, which can be compiled and linked to with the - libsystemd-daemon - pkg-config1 + libsystemd-daemon pkg-config1 file. Alternatively, applications consuming these APIs may copy the implementation into their source tree. For more details about the reference implementation see - sd_daemon7. + sd-daemon3. These functions continue to work as described, even if -DDISABLE_SYSTEMD is set during @@ -207,7 +208,7 @@ See Also systemd1, - sd-daemon7, + sd-daemon3, sd_listen_fds3, systemd.service5, systemd.socket5