aboutsummaryrefslogtreecommitdiffstats
path: root/libaxl_attach.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-05-10 17:26:03 +0200
committerMattias Andrée <maandree@kth.se>2020-05-10 17:26:03 +0200
commit0e676861b71b8a17fdf0b968ef32751e2df30444 (patch)
treea2c1bb8dc26c0f0c3dda126cec45df5682fcf682 /libaxl_attach.3
parentA few things (diff)
downloadlibaxl-0e676861b71b8a17fdf0b968ef32751e2df30444.tar.gz
libaxl-0e676861b71b8a17fdf0b968ef32751e2df30444.tar.bz2
libaxl-0e676861b71b8a17fdf0b968ef32751e2df30444.tar.xz
Documentation + return -1 screen when not specified
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libaxl_attach.333
1 files changed, 33 insertions, 0 deletions
diff --git a/libaxl_attach.3 b/libaxl_attach.3
new file mode 100644
index 0000000..0ec4f8f
--- /dev/null
+++ b/libaxl_attach.3
@@ -0,0 +1,33 @@
+.TH libaxl_attach 3 libaxl
+.SH NAME
+libaxl_attach - Change file descriptor of a connection
+.SH SYNOPSIS
+.nf
+#include <libaxl.h>
+
+void libaxl_attach(LIBAXL_CONNECTION *\fIconn\fP, int \fIfd\fP);
+.fi
+.SH DESCRIPTION
+The
+.BR libaxl_attach ()
+function changes the file descript in the
+connection record specified in the
+.I conn
+parameter, which the function will assume is
+.RI non- NULL ,
+to the file descriptor specified in the
+.I fd
+parameter.
+.SH RETURN VALUE
+None.
+.SH ERRORS
+The
+.BR libaxl_attach ()
+function cannot fail.
+.SH NOTES
+None.
+.SH SEE ALSO
+.BR libaxl_unmarshal (3),
+.BR libaxl_create (3),
+.BR libaxl_fileno (3),
+.BR libaxl_detach (3)