This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Possible bug in dbg-threads-syscall.c


> I guess C defines '*f' as a "function" :-P
>
> Seriously, since C allows this:
>
>     typedef int int_fun(int);
>
> then the type 'int_fun' represents the set of functions that take
> an int in
> argument and that return an int. Then,
>
>     int_fun* int_fun_ptr;
>
> naturally defines a pointer to such functions and
That's what makes sense to me.  So then what does:

if (*int_fun_ptr == 0) blah()

mean?
(I know, we are way off topic here, but it does seem like a bizarre thing to
test).

>
> HTMS,
  ^^^^
That's one I haven't seen before... what is it?

--wpd



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]