Function my_create() takes an argument of 'struct socket **s'. I'm trying to pass in the 'struct socket *skt' member of 'struct sA' into function my_create().
Can anyone help out here. I'm pretty sure I dont' have this correct.
Code:struct sA { struct socket *skt; }; struct sA a; my_create(struct socket **s); int main() { ... my_create(&a->skt); // i don't think this is correct ... }