请教一个目录流的有关问题

请问一个目录流的问题
这个语句typedef   int(*filter)(const   struct   dirent   *);定义是什么意思啊?谢谢


生成新的函数指针类型filter, 即表示:

int abc(const struct dirent *)
{

}
.
.
.
struct dirent a;
filter fun;
fun = abc;
//调用
(*fun)(&a); //等于abc(&a)
.
.
.
谨参考

请教一个目录流的有关问题

相关文章:

你感兴趣的文章:

标签云: