mirror of
https://git.musl-libc.org/git/musl
synced 2025-03-20 01:22:54 +03:00
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.
This commit is contained in:
parent
537d33d334
commit
06baa2b56c
@ -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 *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user