fb_get_cmap(9)

NAME

fb_get_cmap - get a colormap

SYNOPSIS

int  fb_get_cmap  (struct  fb_cmap  *cmap,  int  kspc, int
(*getcolreg) (u_int, u_int *, u_int *, u_int *,  u_int  *,
                     struct  fb_info  *),  struct  fb_info
*info);

ARGUMENTS

cmap frame buffer colormap

kspc boolean, 0 copy local, 1 put_user function

getcolreg pointer to a function to get a color register

info frame buffer info structure

DESCRIPTION

Get a colormap cmap for a screen of device info.

Returns negative errno on error, or zero on success.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout