diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-19 13:37:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-19 13:37:19 +0200 |
commit | ce5160a39d26a8e7cf0633d0d144436a5156837a (patch) | |
tree | 5ac139854c4d620f7549c4be4c1231644ba0a49b /doc/info | |
parent | typo + continued work on mds-colour (diff) | |
download | mds-ce5160a39d26a8e7cf0633d0d144436a5156837a.tar.gz mds-ce5160a39d26a8e7cf0633d0d144436a5156837a.tar.bz2 mds-ce5160a39d26a8e7cf0633d0d144436a5156837a.tar.xz |
put full_send in libmdsserver, clients that only has one socket uses a macro to remove the socket parameter
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/info')
-rw-r--r-- | doc/info/mds.texinfo | 8 |
1 files changed, 8 insertions, 0 deletions
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 |