Annotation of coherent/d/usr/bin/pax/shipping/ndir.h, revision 1.1.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: 
                      6:        Prerequisite:   <sys/types.h>
                      7: */
                      8: 
                      9: #include       "dirent.h"
                     10: 
                     11: #define        DIRBUF          8192            /* buffer size for fs-indep. dirs */
                     12:        /* must in general be larger than the filesystem buffer size */
                     13: 
                     14: typedef struct
                     15:        {
                     16:        int     dd_fd;                  /* file descriptor */
                     17:        int     dd_loc;                 /* offset in block */
                     18:        int     dd_size;                /* amount of valid data */
                     19:        char    *dd_buf;                /* -> directory block */
                     20:        }       DIR;                    /* stream data from opendir() */
                     21: 
                     22: extern DIR             *opendir();
                     23: extern struct dirent   *readdir();
                     24: extern off_t           telldir();
                     25: extern void            seekdir();
                     26: extern void            rewinddir();
                     27: extern int             closedir();
                     28: 
                     29: #ifndef NULL
                     30: #define        NULL    0                       /* DAG -- added for convenience */
                     31: #endif

unix.superglobalmegacorp.com

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