Subversion Repositories SvarDOS

Rev

Rev 388 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 388 Rev 389
Line 30... Line 30...
30
  unsigned short date;
30
  unsigned short date;
31
  unsigned long size;
31
  unsigned long size;
32
  char fname[13];
32
  char fname[13];
33
};
33
};
34
 
34
 
-
 
35
#define DOS_ATTR_RO   1
-
 
36
#define DOS_ATTR_HID  2
-
 
37
#define DOS_ATTR_SYS  4
-
 
38
#define DOS_ATTR_VOL  8
-
 
39
#define DOS_ATTR_DIR 16
-
 
40
#define DOS_ATTR_ARC 32
-
 
41
 
35
/* find first matching files using a FindFirst DOS call
42
/* find first matching files using a FindFirst DOS call
36
 * returns 0 on success or a DOS err code on failure */
43
 * returns 0 on success or a DOS err code on failure */
37
unsigned short findfirst(struct DTA *dta, const char *pattern, unsigned short attr);
44
unsigned short findfirst(struct DTA *dta, const char *pattern, unsigned short attr);
38
 
45
 
39
/* find next matching, ie. continues an action intiated by findfirst() */
46
/* find next matching, ie. continues an action intiated by findfirst() */