X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_is_fifo.xml;fp=man%2Fsd_is_fifo.xml;h=3dac5a9001da24b1061e4121ce82ebf8bcafa2f3;hp=0f4f274f6fb22a3519080de9175db85e03476215;hb=eb0e417895c37dbdb64f18ae95c6b1a7a99f871e;hpb=df890458e39a14b95f8a2c88e8e1c1815e1320d2 diff --git a/man/sd_is_fifo.xml b/man/sd_is_fifo.xml index 0f4f274f6..3dac5a900 100644 --- a/man/sd_is_fifo.xml +++ b/man/sd_is_fifo.xml @@ -3,22 +3,22 @@ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> sd_is_fifo - systemd + elogind @@ -48,15 +48,13 @@ sd_is_socket sd_is_socket_inet sd_is_socket_unix - sd_is_socket_sockaddr - sd_is_mq sd_is_special Check the type of a file descriptor - #include <systemd/sd-daemon.h> + #include <elogind/sd-daemon.h> int sd_is_fifo @@ -81,15 +79,6 @@ uint16_t port - - int sd_is_socket_sockaddr - int fd - int type - const struct sockaddr *addr - unsigned addr_len - int listening - - int sd_is_socket_unix int fd @@ -99,12 +88,6 @@ size_t length - - int sd_is_mq - int fd - const char *path - - int sd_is_special int fd @@ -127,11 +110,11 @@ whether the specified file descriptor 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 type - parameter is not 0, it is checked whether the socket is of the - specified type (SOCK_STREAM, - SOCK_DGRAM, …). If the + 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 listening parameter is positive, it is checked whether the socket is in accepting mode, i.e. listen() has been called for it. If @@ -149,18 +132,6 @@ AF_UNSPEC, AF_INET, or AF_INET6. - sd_is_socket_sockaddr() is similar to - sd_is_socket_inet(), but checks if the socket is bound to the - address specified by addr. The - family specified by addr must be - either AF_INET or AF_INET6 and - addr_len must be large enough for that family. If - addr specifies a non-zero port, it is also checked if the - socket is bound to this port. In addition, for IPv6, if addr - specifies non-zero sin6_flowinfo or - sin6_scope_id, it is checked if the socket has the same - values. - sd_is_socket_unix() is similar to sd_is_socket() but optionally checks the AF_UNIX path the socket is bound to, unless @@ -173,12 +144,6 @@ path to the initial 0 byte of the socket address. - sd_is_mq() may be called to check - whether the specified file descriptor refers to a POSIX message - queue. If the path parameter is not - NULL, it is checked whether the message queue - is bound to the specified name. - sd_is_special() may be called to check whether the specified file descriptor refers to a special file. If the path parameter is not @@ -211,17 +176,7 @@ See Also - systemd1, - sd-daemon3, - sd_listen_fds3, - systemd.service5, - systemd.socket5, - ip7, - ipv67, - unix7, - fifo7, - mq_overview7, - socket7. + elogind8,