]>
Dogcows Code - chaz/tar/blob - src/msd_dir.h
2 * @(#)msd_dir.h 1.4 87/11/06 Public Domain.
4 * A public domain implementation of BSD directory routines for
5 * MS-DOS. Written by Michael Rendell ({uunet,utai}michael@garfield),
9 #define rewinddir(dirp) seekdir(dirp, 0L)
19 ino_t d_ino
; /* a bit of a farce */
20 int d_reclen
; /* more farce */
21 int d_namlen
; /* length of d_name */
22 char d_name
[MAXNAMLEN
+ 1]; /* garentee null termination */
27 struct _dircontents
*_d_next
;
30 typedef struct _dirdesc
{
31 int dd_id
; /* uniquely identify each open directory */
32 long dd_loc
; /* where we are in directory entry is this */
33 struct _dircontents
*dd_contents
; /* pointer to contents of dir */
34 struct _dircontents
*dd_cp
; /* pointer to current position */
37 extern DIR *opendir();
38 extern struct direct
*readdir();
39 extern void seekdir();
40 extern long telldir();
41 extern void closedir();
This page took 0.033468 seconds and 4 git commands to generate.