Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fullstat.h(7) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fullstat, ffullstat

types.h

fullstat.h

Purpose

     Defines  the  data  structure returned  by  the  fullstat
     system call.

Synopsis

     #include <sys/fullstat.h>

Description

     The  fullstat.h header  file defines  the data  structure
     that  is returned  by the  fullstat and  ffullstat system
     calls.  This file also defines the cmd arguments that are
     used by fullstat and ffullstat.

       struct fullstat
       {
          /* Beginning of stat block replica... */
          dev_t   st_dev;          /* ID of device containing */
                                   /* a directory entry for this file */
                                   /* File serial + device uniquely */
                                   /* identifies the file within the system */
          ino_t   st_ino;          /* File serial number */
          ushort  st_mode;         /* File mode; see #defines below */
          short   st_nlink;        /* Number of links to file */
          ushort  st_uid;          /* User ID of the owner of the file */
          ushort  st_gid;          /* Group ID of the file group */
          dev_t   st_rdev;         /* ID of this device */
                                   /* This entry is defined only for */
                                   /* character or block special files */
          off_t   st_size;         /* File size in bytes */
          time_t  st_atime;        /* Time of last access */
          time_t  st_mtime;        /* Time of last data modification */
          time_t  st_ctime;        /* Time of last file status change */
                                   /* Time measured in seconds since */
                                   /* 00:00:00 GMT, Jan. 1, 1970 */
          /* ...End of stat block replica */
          ushort  fst_uid_raw;     /* Untranslated uid of the file */
          ushort  fst_gid_raw;     /* Untranslated gid of the file */
          vtype   fst_type;        /* Vnode type */
          tagtype fst_uid_rev_tag;     /* uid translation tag */
          tagtype fst_gid_rev_tag;     /* gid translation tag */
          short * fst_other_gid_list;  /* Pointer to first group ID on */
                                       /*   alternate concurrent group list */
          short   fst_other_gid_count; /* Number of group IDs on */
                                       /*   alternate concurrent group list */
          long    fst_vfs;         /* Virtual file system ID */
          long    fst_nid;         /* Node id where the file resides */
          int     fst_flag;        /* Indicates whether directory or */
                                   /* file is a virtual mount point */
          long    fst_i_gen;       /* Inode generation number */

          long    fst_reserved[8|;  /* Reserved */
       };
          /* Defines for fullstat or ffullstat cmd argument */
          #define FL_STAT         0x0      /* Fullstat */
          #define FL_STAT_REV     0x1      /* Fullstat with uid/gid */
                                          /*   reverse mapping     */
          #define FL_STAT_OTHER   0x2      /* Reverse mapping, "biased" */
                                          /*   toward another uid/gid    */
          /* Defines to tell whether a file or directory is mounted upon */
          #define FS_VMP          0x1      /* Virtual mount point  */

File

     /usr/include/sys/fullstat.h

Related Information

     In this book:  "fullstat, ffullstat" and "types.h."

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026