From ce5160a39d26a8e7cf0633d0d144436a5156837a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 19 Aug 2015 13:37:19 +0200 Subject: put full_send in libmdsserver, clients that only has one socket uses a macro to remove the socket parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/mds.texinfo | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/info') diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index 902e698..8d44bdb 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -6552,6 +6552,14 @@ if not @code{NULL}, the length of the read file is stored in @code{*length}. On success, the read content is retured, on error @code{NULL} is returned. +@item @code{full_send} [(@code{int socket, const char* message, size_t length}) @arrow{} @code{int}] +@fnindex @code{full_send} +@cpindex Message passing +Send the message @code{message}, with the length +@code{length}, to the socket whose file descriptor is +@code{socket} and ignores interruptions. Returns zero on +success and @code{-1} on error. + @item @code{startswith_n} [(@code{const char*, const char*, size_t, size_t}) @arrow{} @code{int}] @fnindex @code{startswith_n} @cpindex String comparison -- cgit v1.2.3-70-g09d2