Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <unistd.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- int main(){
- struct stat buffer;
- int status;
- status = stat("01.txt", &buffer);
- printf("%d", buffer->st_dev);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement