From 0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 21 Jun 2020 12:09:51 +0200 Subject: Move man pages into a separate directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- man3/libaxl_generate_id.3 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 man3/libaxl_generate_id.3 (limited to 'man3/libaxl_generate_id.3') diff --git a/man3/libaxl_generate_id.3 b/man3/libaxl_generate_id.3 new file mode 100644 index 0000000..aa055f1 --- /dev/null +++ b/man3/libaxl_generate_id.3 @@ -0,0 +1,38 @@ +.TH libaxl_generate_id 3 libaxl +.SH NAME +libaxl_generate_id - Generate a resource ID +.SH SYNOPSIS +.nf +#include + +libaxl_id_t libaxl_generate_id(LIBAXL_CONTEXT *\fIctx\fP); +.fi +.SH DESCRIPTION +The +.BR libaxl_generate_id () +function returns an X resource ID that +the client can assign to any resource +created for the connection for which +the object in the +.I ctx +parameter, which the function assumes is +.RI non- NULL , + is created for. +.SH RETURN VALUE +The +.BR libaxl_generate_id () +function returns an unused resource ID +allocated to the connection to the +display server, or 0 on failure. +.SH ERRORS +The +.BR libaxl_generate_id () +function can only fail if there are no +more resource IDs allocated to the +connection, which corresponds to the +.I LIBAXL_ERROR_OUT_OF_RESOURCE_IDS +error number. +.SH NOTES +None. +.SH SEE ALSO +.BR libaxl_deallocate_id (3) -- cgit v1.2.3-70-g09d2