diff options
author | Mattias Andrée <maandree@kth.se> | 2020-05-10 13:44:06 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-05-10 13:44:06 +0200 |
commit | 4a968d807d2ec611f443d704ae875911894c04e2 (patch) | |
tree | a7c1d4f178842bb6971c7a4b2c159049df794dd0 /libaxl_close.c | |
parent | Fix struct for ClientMessage event (diff) | |
download | libaxl-4a968d807d2ec611f443d704ae875911894c04e2.tar.gz libaxl-4a968d807d2ec611f443d704ae875911894c04e2.tar.bz2 libaxl-4a968d807d2ec611f443d704ae875911894c04e2.tar.xz |
A few things
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libaxl_close.c')
-rw-r--r-- | libaxl_close.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libaxl_close.c b/libaxl_close.c new file mode 100644 index 0000000..4d9c488 --- /dev/null +++ b/libaxl_close.c @@ -0,0 +1,8 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" + +int +libaxl_close(LIBAXL_CONNECTION *conn) +{ + return close(libaxl_detach(conn)); +} |