C Struct
Posted: Sun Jun 29, 2003 5:47 pm
Hi,
I was taking a look at the linux kernel source, and find this struc:
But i don't understand it well, void (*con_init)(struct vc_data *, int);i don't understand this. Can anyone please explain it?
thanks.
I was taking a look at the linux kernel source, and find this struc:
Code: Select all
struct consw {
const char *(*con_startup)(void);
void (*con_init)(struct vc_data *, int);
void (*con_deinit)(struct vc_data *);
void (*con_clear)(struct vc_data *, int, int, int, int);
void (*con_putc)(struct vc_data *, int, int, int);
void (*con_putcs)(struct vc_data *,const unsigned short *,int ,int ,int);
void (*con_cursor)(struct vc_data *, int);
int (*con_scroll)(struct vc_data *, int, int, int, int);
.....
thanks.