File: modbus_get_header_length.md

package info (click to toggle)
libmodbus 3.1.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,112 kB
  • sloc: ansic: 5,495; javascript: 137; makefile: 90; sh: 26
file content (21 lines) | stat: -rw-r--r-- 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# modbus_get_header_length

## Name

modbus_get_header_length - retrieve the current header length

## Synopsis

```c
int modbus_get_header_length(modbus_t *ctx);
```

## Description

The *modbus_get_header_length()* function shall retrieve the current header
length from the backend. This function is convenient to manipulate a message and
so it's limited to low-level operations.

## Return value

The header length as integer value.