.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "FB_COPY_CMAP" "" "06 October 2005" "" ""
.SH NAME
fb_copy_cmap \- copy a colormap
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int fb_copy_cmap (struct fb_cmap * \fIfrom\fB, struct fb_cmap * \fIto\fB, int \fIfsfromto\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfrom\fB\fR
frame buffer colormap structure
.TP
\fB\fIto\fB\fR
frame buffer colormap structure
.TP
\fB\fIfsfromto\fB\fR
determine copy method
.SH "DESCRIPTION"
.PP
Copy contents of colormap from \fIfrom\fR to \fIto\fR\&.
.SH "0"
.PP
memcpy function
.SH "1"
.PP
\fBcopy_from_user\fR function to copy from userspace
.SH "2"
.PP
\fBcopy_to_user\fR function to copy to userspace