SilcFileStat

NAME

    typedef struct SilcFileStatObject { ... } *SilcFileStat,
                                               SilcFileStatStruct;

DESCRIPTION

The file entry status information structure. The structure contains various information about a file. The structure is filled by calling the silc_file_stat or silc_file_fstat functions.

SOURCE

typedef struct SilcFileStatObject {
  SilcTimeStruct last_access;           /* Time of last access */
  SilcTimeStruct last_mod;              /* Time of last modification */
  SilcTimeStruct last_change;           /* Time of last status change */
  SilcUInt64 size;                      /* Entry size in bytes */
  SilcUInt32 uid;                       /* Owner ID of the entry */
  SilcUInt32 gid;                       /* Group owner ID of the entry */
  SilcUInt32 dev;                       /* Entry device number */
  SilcUInt32 rdev;                      /* Device number if special file */
  SilcUInt32 nlink;                     /* Number of hard links */
  SilcFileMode mode;                    /* Entry mode */
} *SilcFileStat, SilcFileStatStruct;