aboutsummaryrefslogtreecommitdiffstats
path: root/LIBAXL_ERROR_FONT.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-04-20 18:58:00 +0200
committerMattias Andrée <maandree@kth.se>2020-04-20 18:58:00 +0200
commitda8b1c1d1baafb9cf4a0cc9a88362f161f8d1319 (patch)
tree0fb0676b127996064ccb75b695e9aaf9657ce9f1 /LIBAXL_ERROR_FONT.3
downloadlibaxl-da8b1c1d1baafb9cf4a0cc9a88362f161f8d1319.tar.gz
libaxl-da8b1c1d1baafb9cf4a0cc9a88362f161f8d1319.tar.bz2
libaxl-da8b1c1d1baafb9cf4a0cc9a88362f161f8d1319.tar.xz
First commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'LIBAXL_ERROR_FONT.3')
-rw-r--r--LIBAXL_ERROR_FONT.355
1 files changed, 55 insertions, 0 deletions
diff --git a/LIBAXL_ERROR_FONT.3 b/LIBAXL_ERROR_FONT.3
new file mode 100644
index 0000000..991af6f
--- /dev/null
+++ b/LIBAXL_ERROR_FONT.3
@@ -0,0 +1,55 @@
+.TH LIBAXL_ERROR_FONT 3 libaxl
+.SH NAME
+LIBAXL_ERROR_FONT - Invalid font ID or fontable ID in request
+.SH SYNOPSIS
+.nf
+#include <libaxl.h>
+
+#define LIBAXL_ERROR_FONT 7
+struct libaxl_error_font {
+ 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 font ID or
+fontable (font or graphics context) 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_FONT
+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 font ID or fontable 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)