aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_fileno.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libaxl_fileno.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libaxl_fileno.c b/libaxl_fileno.c
new file mode 100644
index 0000000..14bf978
--- /dev/null
+++ b/libaxl_fileno.c
@@ -0,0 +1,8 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+int
+libaxl_fileno(LIBAXL_CONNECTION *conn)
+{
+ return conn->fd;
+}