aboutsummaryrefslogtreecommitdiffstats
path: root/man3/LIBAXL_ERROR_COLORMAP.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-21 12:09:51 +0200
committerMattias Andrée <maandree@kth.se>2020-06-21 12:09:51 +0200
commit0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a (patch)
tree73cc9f3704a934d05e8086fad9e6d906b7871131 /man3/LIBAXL_ERROR_COLORMAP.3
parentImplement & format token in libaxl_receive (diff)
downloadlibaxl-0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a.tar.gz
libaxl-0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a.tar.bz2
libaxl-0007c3f8d17fb4b397d6d4e42b10f2ceee5b0d6a.tar.xz
Move man pages into a separate directory
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man3/LIBAXL_ERROR_COLORMAP.3')
-rw-r--r--man3/LIBAXL_ERROR_COLORMAP.354
1 files changed, 54 insertions, 0 deletions
diff --git a/man3/LIBAXL_ERROR_COLORMAP.3 b/man3/LIBAXL_ERROR_COLORMAP.3
new file mode 100644
index 0000000..28abfee
--- /dev/null
+++ b/man3/LIBAXL_ERROR_COLORMAP.3
@@ -0,0 +1,54 @@
+.TH LIBAXL_ERROR_COLORMAP 3 libaxl
+.SH NAME
+LIBAXL_ERROR_COLORMAP - Invalid colormap ID in request
+.SH SYNOPSIS
+.nf
+#include <libaxl.h>
+
+#define LIBAXL_ERROR_COLORMAP 12
+struct libaxl_error_colormap {
+ uint8_t \fI__zero\fP;
+ uint8_t \fIcode\fP;
+ uint16_t \fIsequence_number\fP;
+ uint32_t \fIbad_resource_id\fP;
+ uint16_t \fIminor_opcode\fP;
+ uint8_t \fImajor_opcode\fP;
+ uint8_t \fI__unused\fP[21];
+};
+.fi
+.SH DESCRIPTION
+The request contains an invalid colormap ID.
+.PP
+The value of the
+.I __zero
+field is 0
+.RI ( LIBAXL_ERROR ),
+which signifies that the received message is an
+error message. The value of the
+.I code
+field is
+.I LIBAXL_ERROR_COLORMAP
+to signify that the error is of the error type
+described in this document.
+.PP
+The value of the
+.I sequence_number
+field is the sequence number returned by the
+.BR libaxl_send_request (3)
+function for the failed request.
+.PP
+The value of the
+.I bad_resource_id
+field is the invalid colormap ID used in the
+failed request.
+.PP
+The value of the
+.I major_opcode
+and
+.I minor_opcode
+fields are the major and minor (if any) operation
+codes in the failed request.
+.PP
+Other fields are unused and may have any value.
+.SH SEE ALSO
+.BR LIBAXL_ERROR (3)