hi, I have one question about void *p;
struct block *bh;
struct disk *docs;
bh=(struct block *)p;
docs=(struct disk *) ( (unsigned long)p+sizeof(struct block));
my question is that which address p points to now?
Does p point to the address (p+sizeof(struct block)) ?
please help me,
Thanks a million
0 · ·