aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_fileno.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-05-10 13:44:06 +0200
committerMattias Andrée <maandree@kth.se>2020-05-10 13:44:06 +0200
commit4a968d807d2ec611f443d704ae875911894c04e2 (patch)
treea7c1d4f178842bb6971c7a4b2c159049df794dd0 /libaxl_fileno.3
parentFix struct for ClientMessage event (diff)
downloadlibaxl-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 '')
-rw-r--r--libaxl_fileno.331
1 files changed, 31 insertions, 0 deletions
diff --git a/libaxl_fileno.3 b/libaxl_fileno.3
new file mode 100644
index 0000000..b47e31e
--- /dev/null
+++ b/libaxl_fileno.3
@@ -0,0 +1,31 @@
+.TH libaxl_fileno 3 libaxl
+.SH NAME
+libaxl_fileno - Get file descriptor of connection
+.SH SYNOPSIS
+.nf
+#include <libaxl.h>
+
+int libaxl_fileno(LIBAXL_CONNECTION *\fIconn\fP);
+.fi
+.SH DESCRIPTION
+The
+.BR libaxl_fileno ()
+function returns the number of the file descriptor
+of a connection to the display server. The connection
+is specified in the
+.I conn
+parameter, which the function assumes is
+.RI non- NULL .
+.SH RETURN VALUE
+The
+.BR libaxl_fileno ()
+function returns file descriptor.
+.SH ERRORS
+The
+.BR libaxl_fileno ()
+function cannot fail.
+.SH NOTES
+None.
+.SH SEE ALSO
+.BR libaxl_attach (3),
+.BR libaxl_detach (3)