From da8b1c1d1baafb9cf4a0cc9a88362f161f8d1319 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 20 Apr 2020 18:58:00 +0200 Subject: First commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- LIBAXL_ERROR_ATOM.3 | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 LIBAXL_ERROR_ATOM.3 (limited to 'LIBAXL_ERROR_ATOM.3') diff --git a/LIBAXL_ERROR_ATOM.3 b/LIBAXL_ERROR_ATOM.3 new file mode 100644 index 0000000..f564688 --- /dev/null +++ b/LIBAXL_ERROR_ATOM.3 @@ -0,0 +1,54 @@ +.TH LIBAXL_ERROR_ATOM 3 libaxl +.SH NAME +LIBAXL_ERROR_ATOM - Invalid atom ID in request +.SH SYNOPSIS +.nf +#include + +#define LIBAXL_ERROR_ATOM 5 +struct libaxl_error_atom { + 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 atom 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_ATOM +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 atom 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) -- cgit v1.2.3-70-g09d2