---
name: "modecpy"
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/modecpy"
---

# modecpy(9)

Prepare response for MODE SENSE

## NAME

modecpy - Prepare response for MODE SENSE

## SYNOPSIS

**void modecpy(u8 \*** *dest***, const u8 \*** *src***, int** *n***, bool** *changeable***);**

## ARGUMENTS

*dest*

output buffer

*src*

data being copied

*n*

length of mode page

*changeable*

whether changeable parameters are requested

## DESCRIPTION

Generate a generic MODE SENSE page for either current or changeable parameters.

LOCKING: None.

## AUTHOR

**Jeff Garzik**

Author.

## COPYRIGHT
