'\" t .\" Title: modbus_receive_confirmation .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: 10/18/2014 .\" Manual: Libmodbus Manual .\" Source: libmodbus 3.0.6 .\" Language: English .\" .TH "MODBUS_RECEIVE_CONFI" "3" "10/18/2014" "libmodbus 3\&.0\&.6" "Libmodbus Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" modbus_receive_confirmation \- receive a confirmation request .SH "SYNOPSIS" .sp \fBint modbus_receive_confirmation(modbus_t *\fR\fB\fIctx\fR\fR\fB, uint8_t *\fR\fB\fIrsp\fR\fR\fB);\fR .SH "DESCRIPTION" .sp The \fImodbus_receive_confirmation()\fR function shall receive a request via the socket of the context \fIctx\fR\&. This function must be used for debugging purposes because the received response isn\(cqt checked against the initial request\&. This function can be used to receive request not handled by the library\&. .SH "RETURN VALUE" .sp The \fImodbus_receive_confirmation()\fR function shall store the confirmation request in \fIrsp\fR and return the response length if sucessful\&. Otherwise it shall return \-1 and set errno\&. .SH "SEE ALSO" .sp \fBmodbus_send_raw_request\fR(3) .SH "AUTHORS" .sp The libmodbus documentation was written by St\('ephane Raimbault <\m[blue]\fBstephane\&.raimbault@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2> .SH "NOTES" .IP " 1." 4 stephane.raimbault@gmail.com .RS 4 \%mailto:stephane.raimbault@gmail.com .RE