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
FileStat statBuf = Posix.allocateStat();
Posix.stat("/home/demon/test", statBuf);
long dev = statBuf.dev();
int mj = statBuf.major(statBuf.dev());
int mi = statBuf.minor(statBuf.dev());
major and minor values have different values than results of this c code:
struct stat statBuf;
stat("/home/demon/test", &statBuf);
int mj = major(statBuf.st_dev);
int mi = minor(statBuf.st_dev);
Although st_dev value is the same
The text was updated successfully, but these errors were encountered:
when I run this code in java:
major and minor values have different values than results of this c code:
Although st_dev value is the same
The text was updated successfully, but these errors were encountered: