Borsenkow Andrej <[EMAIL PROTECTED]> writes: > buf is variable which address is (to be) taken. I do not know how > compiler interprets stat in this context. You can't take address of > structure type name to my best knowledge.
I think it takes address of the (glibc) function. This: printf("Address of stat <%p>\n", &stat); printf("Address of mknod <%p>\n", &mknod); printf("Address of mount <%p>\n", &mount); Gives: Address of stat <0x8048540> Address of mknod <0x8048570> Address of mount <0x80483c4> -- Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/