On Mon, 04 Apr 2005 11:43:21 -0700
Matt <[EMAIL PROTECTED]> wrote:
> I need some help understanding some C code.
cdecl (devel/cdecl) is your friend.
> int (*if_ioctl)
> (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
> int (*if_watchdog)
> (int);
explain int (*if_watchdog)(int)
declare if_watchdog as pointer to function (int) returning int
The formatting on this one is strange.
<mike
--
Mike Meyer <[EMAIL PROTECTED]> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.