linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pointer to function ??
@ 2004-05-20 10:21 Nasir Hossain
  2004-05-20 12:00 ` Seika van Olstroem
  0 siblings, 1 reply; 2+ messages in thread
From: Nasir Hossain @ 2004-05-20 10:21 UTC (permalink / raw)
  To: Linux-C-Programming (E-mail)

hi,

can someone explain this to me :

0:    using namespace ldm;

1:    struct cmd_parse_t {
2:        char flag;
3:        void (*taskfunc)(ldm::diskio& dev, int argc, char** argv);
4:        bool readonly;
5:    };

what does line 3 do ? is it a pointer to a function or something else ?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-20 12:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-20 10:21 pointer to function ?? Nasir Hossain
2004-05-20 12:00 ` Seika van Olstroem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).