fbtype
struct fbtype *fb;
fb = (struct fbtype *)data;
struct fbtype *fb;
fb = (struct fbtype *)data;
bcopy(info, (struct fbtype *)data, sizeof(struct fbtype));
((struct fbtype *)arg)->fb_type = fb_type(adp->va_type);
((struct fbtype *)arg)->fb_height = adp->va_info.vi_height;
((struct fbtype *)arg)->fb_width = adp->va_info.vi_width;
((struct fbtype *)arg)->fb_depth = adp->va_info.vi_depth;
((struct fbtype *)arg)->fb_cmsize = 0;
((struct fbtype *)arg)->fb_cmsize = 1 << adp->va_info.vi_depth;
((struct fbtype *)arg)->fb_size = adp->va_buffer_size;
bcopy(info, (struct fbtype *)data, sizeof(struct fbtype));
#define FBIOGTYPE _IOR('F', 0, struct fbtype)