Description

The structure to store some file statistics.

Fields

  • dev - The device where this file is located
  • ino - The inode
  • mode - The mode
  • nlink - The link number
  • uid - The owner user id
  • gid - The owner group id
  • rdev - The remote device
  • size - The file size in bytes
  • blksize - The block size in bytes
  • blocks - The number of blocks allocated
  • atime - The tilestamp when the file was last accessed
  • atimensec - The nano version of the timestmap when the file was last accessed
  • mtime - The tilestamp when the file was modified
  • mtimensec - The nano version of the timestmap when the file was modified
  • ctime - The tilestamp when the file was created
  • ctimensec - The nano version of the timestmap when the file was created

Signature

struct @extern Eina.Stat {
    dev: ulong;
    ino: ulong;
    mode: uint;
    nlink: uint;
    uid: uint;
    gid: uint;
    rdev: ulong;
    size: ulong;
    blksize: ulong;
    blocks: ulong;
    atime: ulong;
    atimensec: ulong;
    mtime: ulong;
    mtimensec: ulong;
    ctime: ulong;
    ctimensec: ulong;
}

C signature

typedef struct _Eina_Stat {
    unsigned long dev;
    unsigned long ino;
    unsigned int mode;
    unsigned int nlink;
    unsigned int uid;
    unsigned int gid;
    unsigned long rdev;
    unsigned long size;
    unsigned long blksize;
    unsigned long blocks;
    unsigned long atime;
    unsigned long atimensec;
    unsigned long mtime;
    unsigned long mtimensec;
    unsigned long ctime;
    unsigned long ctimensec;
} Eina_Stat;