So what happens memory-wise when you supply it with a dereferenced pointer to a pointer? I mean, doesn't you supply it with a memory address anyway? When it comes to a program's command line arguments you can use either **argv or *argv[]. Why can't you use **ptr (and then dereference it) instead of *ptr (and then $ptr)?
Code:
/usr/local/include/pcap/pcap.h:495:14: note: expected ‘pcap_if_t ** {aka struct pcap_if **}’
so I give it a **ptr, right?
I know that there is a difference between
Code:
char *ptr = "hello!";
and
Code:
ptr[7] = { h, e, l, l, o, !, \0 };
in that you can't access individual characters of "hello!" using *ptr = "string".
What's the case here?
Cheers.