You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey, I was hoping to use JNR Posix for opendir and readdir.
In particular, I wanted to obtain inodes without needing to call stat().
This would seem possible given that dirents carry their inode numbers:
struct dirent {
ino_t d_ino; /* Inode number */
off_t d_off; /* Not an offset; see below */
unsigned short d_reclen; /* Length of this record */
unsigned char d_type; /* Type of file; not supported by all filesystem types */
char d_name[256]; /* Null-terminated filename */
}
However, since these functions are c libraries and not syscalls they do not seem supported by your library. Not supported in the sense that when I create a default POSIX handler they are not available in that interface.
Question:
Will these be supported in the future? Is there a way I can use JNR Posix to get access to these kinds of functions and dirents?
The text was updated successfully, but these errors were encountered:
Problem:
hey, I was hoping to use JNR Posix for opendir and readdir.
In particular, I wanted to obtain inodes without needing to call
stat()
.This would seem possible given that
dirents
carry their inode numbers:However, since these functions are c libraries and not syscalls they do not seem supported by your library. Not supported in the sense that when I create a default POSIX handler they are not available in that interface.
Question:
Will these be supported in the future? Is there a way I can use JNR Posix to get access to these kinds of functions and dirents?
The text was updated successfully, but these errors were encountered: