From 4a968d807d2ec611f443d704ae875911894c04e2 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 10 May 2020 13:44:06 +0200 Subject: A few things MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libaxl_context_create.3 | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 libaxl_context_create.3 (limited to 'libaxl_context_create.3') diff --git a/libaxl_context_create.3 b/libaxl_context_create.3 new file mode 100644 index 0000000..5736645 --- /dev/null +++ b/libaxl_context_create.3 @@ -0,0 +1,37 @@ +.TH libaxl_context_create 3 libaxl +.SH NAME +libaxl_context_create - Create a context +.SH SYNOPSIS +.nf +#include + +LIBAXL_CONTEXT *libaxl_context_create(LIBAXL_CONNECTION *\fIconn\fP); +.fi +.SH DESCRIPTION +The +.BR libaxl_context_create () +function creates a context, for a thread, +to use when accessing the display server +via the connection specified in the +.I conn +parameter. +.SH RETURN VALUE +The +.BR libaxl_context_create () +returns the context on success completion, or +.I NULL +on failure. +.SH ERRORS +The +.BR libaxl_generate_id () +function can only fail if enough memory +cannot be allocates for the process, +which is corresponds to the +.I ENOMEM +error number and the +.I LIBAXL_ERROR_SYSTEM +libaxl error number. +.SH NOTES +None. +.SH SEE ALSO +.BR libaxl_context_free (3) -- cgit v1.2.3-70-g09d2