---
name: "custom"
section: "3"
platform: "linux"
package: "libmtp"
version: "1.1.23-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/custom"
---

# custom(3)

Custom operations API.

## NAME

custom - Custom operations API.

## SYNOPSIS

### Functions

int **LIBMTP\_Custom\_Operation** (**LIBMTP\_mtpdevice\_t** \*, uint16\_t, int,...)\

## Detailed Description

## Function Documentation

### int LIBMTP\_Custom\_Operation (LIBMTP\_mtpdevice\_t \* device, uint16\_t code, int n\_param, ...)

Issue custom (e.g. vendor specific) operation (without data phase)

**Parameters**

*device* a pointer to the device to send custom operation to. \
 *code* operation code to send. \
 *n\_param* number of parameters passed. \
 *...* uint32\_t operation specific parameters.

References **LIBMTP\_mtpdevice\_struct::params**.

## Author

Generated automatically by Doxygen for libmtp from the source code.
