c语言定义文件函数(实现函数指针)

struct rt_filesystem_interface
{
	/* file api*/
	int(*open)(const char *file, int flags, int mode);
	int(*close)(int d);
};

  

posted on 2021-12-16 00:44  lydstory  阅读(51)  评论(0)    收藏  举报

导航