Annotation of coherent/b/lib/libc/ndir/old/dirent.h, revision 1.1

1.1     ! root        1: /*
        !             2:        <dirent.h> -- definitions for SVR3 directory access routines
        !             3: 
        !             4:        last edit:      25-Apr-1987     D A Gwyn
        !             5:                        12-Jul-1990     D A Fenyes
        !             6:                                        Coherent conversion
        !             7: 
        !             8:        Prerequisite:   <sys/types.h>
        !             9: */
        !            10: 
        !            11: 
        !            12: #include       "sys.dirent.h"
        !            13: 
        !            14: #define        DIRBUF          2048            /* buffer size for fs-indep. dirs */
        !            15:        /* must in general be larger than the filesystem buffer size */
        !            16: 
        !            17: typedef struct
        !            18:        {
        !            19:        int     dd_fd;                  /* file descriptor */
        !            20:        int     dd_loc;                 /* offset in block */
        !            21:        int     dd_size;                /* amount of valid data */
        !            22:        char    *dd_buf;                /* -> directory block */
        !            23:        }       DIR;                    /* stream data from opendir() */
        !            24: 
        !            25: 
        !            26: extern DIR             *opendir();
        !            27: extern struct dirent   *readdir();
        !            28: extern void            rewinddir();
        !            29: extern int             closedir();
        !            30: extern daddr_t         telldir();
        !            31: extern void            seekdir();
        !            32: 
        !            33: 
        !            34: #ifndef NULL
        !            35: #define        NULL    0                       /* DAG -- added for convenience */
        !            36: #endif
        !            37: 

unix.superglobalmegacorp.com

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