---
name: "crc16"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/crc16/9"
---

# crc16(9)

compute the CRC-16 for the data buffer

## NAME

crc16 - compute the CRC-16 for the data buffer

## SYNOPSIS

**u16 crc16(u16** *crc***, u8 const \*** *buffer***, size\_t** *len***);**

## ARGUMENTS

*crc*

previous CRC value

*buffer*

data pointer

*len*

number of bytes in the buffer

## DESCRIPTION

Returns the updated CRC value.

## COPYRIGHT
