aboutsummaryrefslogtreecommitdiffstats
path: root/libcoopgamma.h
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-10 17:50:58 +0100
committerMattias Andrée <m@maandree.se>2025-02-10 17:52:46 +0100
commitec1bcdcd0dd6e196303e8d9a30b3b2740e32c502 (patch)
treedcc759aaf897c915827659e00644f12503cf1268 /libcoopgamma.h
parentImprove makefile (diff)
downloadlibcoopgamma-ec1bcdcd0dd6e196303e8d9a30b3b2740e32c502.tar.gz
libcoopgamma-ec1bcdcd0dd6e196303e8d9a30b3b2740e32c502.tar.bz2
libcoopgamma-ec1bcdcd0dd6e196303e8d9a30b3b2740e32c502.tar.xz
Minor code improvements and split into multiple c files
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--libcoopgamma.h2
-rw-r--r--libcoopgamma.h.02
2 files changed, 4 insertions, 0 deletions
diff --git a/libcoopgamma.h b/libcoopgamma.h
index 5f5e800..f6a7554 100644
--- a/libcoopgamma.h
+++ b/libcoopgamma.h
@@ -714,6 +714,8 @@ typedef struct libcoopgamma_context {
/**
* File descriptor for the socket
+ *
+ * `-1` if no file descriptor is used
*/
int fd;
diff --git a/libcoopgamma.h.0 b/libcoopgamma.h.0
index 73a0b8a..0f6da8d 100644
--- a/libcoopgamma.h.0
+++ b/libcoopgamma.h.0
@@ -453,6 +453,8 @@ function call.
.B "int fd"
File descriptor for the socket that connects
the client to the server.
+.B -1
+if no file descriptor is used.
.P
The
.B <libcoopgamma.h>