'\" t .\" Title: copy_to_user_fromio .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Management of Cards and Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "COPY_TO_USER_FROMIO" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Management of Cards and Device" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" copy_to_user_fromio \- copy data from mmio\-space to user\-space .SH "SYNOPSIS" .HP \w'int\ copy_to_user_fromio('u .BI "int copy_to_user_fromio(void\ __user\ *\ " "dst" ", const\ volatile\ void\ __iomem\ *\ " "src" ", size_t\ " "count" ");" .SH "ARGUMENTS" .PP \fIdst\fR .RS 4 the destination pointer on user\-space .RE .PP \fIsrc\fR .RS 4 the source pointer on mmio .RE .PP \fIcount\fR .RS 4 the data size to copy in bytes .RE .SH "DESCRIPTION" .PP Copies the data from mmio\-space to user\-space\&. .SH "RETURN" .PP Zero if successful, or non\-zero on failure\&. .SH "COPYRIGHT" .br