On Mon, 04 Apr 2005 11:43:21 -0700
Matt <mher...@comcast.net> wrote:
I need some help understanding some C code.
cdecl (devel/cdecl) is your friend.
(struct ifnet *, int, caddr_t);
explain int (*if_ioctl)(struct ifnet *, int, caddr_t)
declare if_ioctl as pointer to function (pointer to struct ifnet, int, caddr_t)returning int
explain int (*if_watchdog)(int)
declare if_watchdog as pointer to function (int) returning int
The formatting on this one is strange.
Mike Meyer <mw...@mired.org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.