SysTutorials

Linux Manual Pages › Section 9

copy_from_user_toio(9)

copy_from_user_toio - copy data from user-space to mmio-space

Synopsis

int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count);

Arguments

dst

the destination pointer on mmio-space

src

the source pointer on user-space

count

the data size to copy in bytes

Description

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

Return

Zero if successful, or non-zero on failure.

Copyright