source: buchla-68k/orig/GEMDOS/DIR.H@ 5f1d169

Last change on this file since 5f1d169 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Imported original source code.

  • Property mode set to 100755
File size: 640 bytes
RevLine 
[3ae31e9]1#ifndef DIRSIZ
2#define DIRSIZ 13
3#endif
4
5/*
6 * Structure returned by search calls
7 */
8struct direct
9{
10 char rsvd[21]; /* reserved for dos */
11 char d_attr; /* file attribute */
12 long d_time; /* modified time */
13 long d_size; /* file size */
14 char d_name[DIRSIZ]; /* directory entry name */
15};
16
17typedef struct _dirdesc
18{
19 int d_magic; /* magic number 1234 */
20 int d_length; /* number of directory entries */
21 int d_pos; /* current position */
22 struct direct **namelist; /* list of directory entries */
23} DIR;
24
25#define DMAGIC 0x1234
26
27DIR *opendir();
28struct direct *readdir();
29long telldir();
30
Note: See TracBrowser for help on using the repository browser.