提交 06baa2b5 编写于 作者: R Rich Felker

d_fileno alias for d_ino in dirent

this is nonstandard but since POSIX reserved d_ prefix in dirent.h we
might as well define it unconditionally. some programs depend on it.
上级 537d33d3
......@@ -21,6 +21,8 @@ struct dirent
char d_name[1];
};
#define d_fileno d_ino
int closedir(DIR *);
DIR *fdopendir(int);
DIR *opendir(const char *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册