|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T m
Length: 954 (0x3ba) Types: TextFile Names: »msd_dir.h«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit └─⟦1098f3044⟧ »EurOpenD3/gnu/make/tar-1.09.tar.Z« └─⟦2af8deed6⟧ └─⟦this⟧ »tar-1.09/msd_dir.h« └─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89 └─⟦62a861d28⟧ »./tar-1.07.tar.Z« └─⟦2b95499f1⟧ └─⟦this⟧ »tar-dist/msd_dir.h«
/* * @(#)msd_dir.h 1.4 87/11/06 Public Domain. * * A public domain implementation of BSD directory routines for * MS-DOS. Written by Michael Rendell ({uunet,utai}michael@garfield), * August 1897 */ #define rewinddir(dirp) seekdir(dirp, 0L) #define MAXNAMLEN 12 struct direct { ino_t d_ino; /* a bit of a farce */ int d_reclen; /* more farce */ int d_namlen; /* length of d_name */ char d_name[MAXNAMLEN + 1]; /* garentee null termination */ }; struct _dircontents { char *_d_entry; struct _dircontents *_d_next; }; typedef struct _dirdesc { int dd_id; /* uniquely identify each open directory */ long dd_loc; /* where we are in directory entry is this */ struct _dircontents *dd_contents; /* pointer to contents of dir */ struct _dircontents *dd_cp; /* pointer to current position */ } DIR; extern DIR *opendir(); extern struct direct *readdir(); extern void seekdir(); extern long telldir(); extern void closedir();