Annotation of coherent/a/usr/man/COHERENT/dir.h, revision 1.1

1.1     ! root        1: 
        !             2: 
        !             3: dir.h                      Header File                      dir.h
        !             4: 
        !             5: 
        !             6: 
        !             7: 
        !             8: Directory format
        !             9: 
        !            10: #include <dir.h>
        !            11: 
        !            12: A  COHERENT directory  is exactly like  an ordinary  file, except
        !            13: that a  user's process may write on it  only through system calls
        !            14: such as creat,  link, mknod, or unlink.  The system distinguishes
        !            15: directories from other types of files by the mode word S_IFDIR in
        !            16: the i-node.  (For more information on i-nodes, see stat).
        !            17: 
        !            18: Every directory  is an array  of entries of  the following struc-
        !            19: ture, as defined in the header file dir.h:
        !            20: 
        !            21: 
        !            22: #define                  DIRSIZ 14
        !            23: 
        !            24: struct direct {
        !            25:      ino_t d_ino;        /* i-number */
        !            26:      char d_name[DIRSIZ];/* name */
        !            27: };
        !            28: 
        !            29: 
        !            30: Any entry in which d_ino has a value of zero is unused.
        !            31: 
        !            32: The command  mkdir creates a directory,  with the convention that
        !            33: its first  two entries are `.'  and `..'.  The name  `.' is self-
        !            34: referential -- a link to  the directory itself.  The name `..' is
        !            35: a link  to the parent directory.  Because  the root directory has
        !            36: no parent, its `..' is a link to itself.
        !            37: 
        !            38: The d_ino entry of the  directory structure is stored in the file
        !            39: system in canonical form, as described in canon.h.
        !            40: 
        !            41: ***** See Also *****
        !            42: 
        !            43: canon.h, header files, mkdir, stat()
        !            44: 
        !            45: 
        !            46: 
        !            47: 
        !            48: 
        !            49: 
        !            50: 
        !            51: 
        !            52: 
        !            53: 
        !            54: 
        !            55: 
        !            56: 
        !            57: 
        !            58: 
        !            59: 
        !            60: 
        !            61: 
        !            62: 
        !            63: 
        !            64: COHERENT Lexicon                                           Page 1
        !            65: 
        !            66: 

unix.superglobalmegacorp.com

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