Guest User

Untitled

a guest
Jan 18th, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. $ stat Cargo.toml
  2. 16777220 9094681422 -rw-r--r-- 1 tonytonyjan staff 0 109 "Jan 19 10:05:13 2019" "Dec 31 17:52:29 2018" "Dec 31 17:52:29 2018" "Dec 14 16:32:26 2018" 4096 8 0 Cargo.toml
  3.  
  4. The buf argument is a pointer to a stat structure as defined by <sys/stat.h> and into which information is placed concerning the file. When the macro
  5. _DARWIN_FEATURE_64_BIT_INODE is not defined (see below for more information about this macro), the stat structure is defined as:
  6.  
  7. struct stat { /* when _DARWIN_FEATURE_64_BIT_INODE is NOT defined */
  8. dev_t st_dev; /* device inode resides on */
  9. ino_t st_ino; /* inode's number */
  10. mode_t st_mode; /* inode protection mode */
  11. nlink_t st_nlink; /* number of hard links to the file */
  12. uid_t st_uid; /* user-id of owner */
  13. gid_t st_gid; /* group-id of owner */
  14. dev_t st_rdev; /* device type, for special file inode */
  15. struct timespec st_atimespec; /* time of last access */
  16. struct timespec st_mtimespec; /* time of last data modification */
  17. struct timespec st_ctimespec; /* time of last file status change */
  18. off_t st_size; /* file size, in bytes */
  19. quad_t st_blocks; /* blocks allocated for file */
  20. u_long st_blksize;/* optimal file sys I/O ops blocksize */
  21. u_long st_flags; /* user defined flags for file */
  22. u_long st_gen; /* file generation number */
  23. };
  24.  
  25. $ stat Cargo.toml
  26. 16777220 9094681422 -rw-r--r-- 1 tonytonyjan staff 0 109 "Jan 19 10:05:13 2019" "Dec 31 17:52:29 2018" "Dec 31 17:52:29 2018" "Dec 14 16:32:26 2018" 4096 8 0 Cargo.toml
Add Comment
Please, Sign In to add comment