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

# copy\_to\_user\_fromio(9)

copy data from mmio-space to user-space

## NAME

copy\_to\_user\_fromio - copy data from mmio-space to user-space

## SYNOPSIS

**int copy\_to\_user\_fromio(void \_\_user \*** *dst***, const volatile void \_\_iomem \*** *src***, size\_t** *count***);**

## ARGUMENTS

*dst*

the destination pointer on user-space

*src*

the source pointer on mmio

*count*

the data size to copy in bytes

## DESCRIPTION

Copies the data from mmio-space to user-space.

## RETURN

Zero if successful, or non-zero on failure.

## COPYRIGHT
