Annotation of xinu/h/dir.h, revision 1.1.1.1

1.1       root        1: /* dir.h */
                      2: 
                      3: #define        FDNLEN  10                      /* length of file name + 1      */
                      4: #define        NFDES   28                      /* number of files per directory*/
                      5: 
                      6: struct fdes    {                       /* description of each file     */
                      7:        long    fdlen;                  /* length in bytes              */
                      8:        IBADDR  fdiba;                  /* first index block            */
                      9:        char    fdname[FDNLEN];         /* zero-terminated file name    */
                     10: };
                     11: 
                     12: struct dir     {                       /* directory layout             */
                     13:        int     d_iblks;                /* i-blocks on this disk        */
                     14:        DBADDR  d_fblst;                /* pointer to list of free blks */
                     15:        IBADDR  d_filst;                /* pointer to list of free iblks*/
                     16:        int     d_id;                   /* disk identification integer  */
                     17:        int     d_nfiles;               /* current number of files      */
                     18:        struct  fdes    d_files[NFDES]; /* descriptions of the files    */
                     19: };
                     20: 
                     21: struct freeblk {                       /* shape of block on free list  */
                     22:        DBADDR  fbnext;                 /* address of next free block   */
                     23: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.