aboutsummaryrefslogtreecommitdiffstats
path: root/communication.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 14:14:58 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 14:14:58 +0100
commit196b364aaee197fa24bb9ef3363b6447df74bb02 (patch)
tree904b2660a4df082c020a67bb758e865aa8c533ca /communication.h
parentm misc (diff)
downloadcoopgammad-196b364aaee197fa24bb9ef3363b6447df74bb02.tar.gz
coopgammad-196b364aaee197fa24bb9ef3363b6447df74bb02.tar.bz2
coopgammad-196b364aaee197fa24bb9ef3363b6447df74bb02.tar.xz
fix doc textHEAD1.3.3master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--communication.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/communication.h b/communication.h
index b40022b..e2407b7 100644
--- a/communication.h
+++ b/communication.h
@@ -38,7 +38,7 @@
*
* @param ... The error description to send
* @return 1: Client disconnected
- * 0: Success (possibily delayed)
+ * 0: Success (possibly delayed)
* -1: An error occurred
*/
#define send_error(...) ((send_error)(conn, message_id, __VA_ARGS__))
@@ -48,7 +48,7 @@
*
* @param ... The value of `errno`, 0 to indicate success
* @return 1: Client disconnected
- * 0: Success (possibily delayed)
+ * 0: Success (possibly delayed)
* -1: An error occurred
*/
#define send_errno(...) ((send_errno)(conn, message_id, __VA_ARGS__))
@@ -59,7 +59,7 @@
* @param conn The index of the connection
* @param buf The data to send
* @param n The size of `buf`
- * @return Zero on success, -1 on error, 1 if disconncted
+ * @return Zero on success, -1 on error, 1 if disconnected
* EINTR, EAGAIN, EWOULDBLOCK, and ECONNRESET count
* as success (ECONNRESET cause 1 to be returned),
* and are handled appropriately.
@@ -73,7 +73,7 @@ int send_message(size_t conn, char *restrict buf, size_t n);
* @param message_id The ID of the message to which this message is a response
* @param desc The error description to send
* @return 1: Client disconnected
- * 0: Success (possibily delayed)
+ * 0: Success (possibly delayed)
* -1: An error occurred
*/
GCC_ONLY(__attribute__((__nonnull__)))
@@ -86,7 +86,7 @@ int (send_error)(size_t conn, const char *restrict message_id, const char *restr
* @param message_id The ID of the message to which this message is a response
* @param number The value of `errno`, 0 to indicate success
* @return 1: Client disconnected
- * 0: Success (possibily delayed)
+ * 0: Success (possibly delayed)
* -1: An error occurred
*/
GCC_ONLY(__attribute__((__nonnull__)))
@@ -96,7 +96,7 @@ int (send_errno)(size_t conn, const char *restrict message_id, int number);
* Continue sending the queued messages
*
* @param conn The index of the connection
- * @return Zero on success, -1 on error, 1 if disconncted
+ * @return Zero on success, -1 on error, 1 if disconnected
* EINTR, EAGAIN, EWOULDBLOCK, and ECONNRESET count
* as success (ECONNRESET cause 1 to be returned),
* and are handled appropriately.