##### Shinobi Library - Memory Card Structure

# BUS_FILEINFO

Structure where file information is stored

### DEFINITION

      typedef struct {
       Uint32 filesize;
       Uint16 blocks;
       Uint8 type;
       Uint8 copyflag;
       Uint16 headerofs;
       BUS_TIME time;
      } BUS_FILEINFO;

### MEMBER

  `filesize` | File size (byte count)
  `blocks` | Used block number
  `type` | File type
  `copyflag` | Copy flag (FFH=copy impossible)
  `headerofs` | Header offset (0 fixed)
  `time` | Time type

### DESCRIPTION

  Structure where file information is stored.

  Values set for `type`, which expresses the file type, are as follows:

  BUD_FILETYPE_NORMAL | Normal file
  BUD_FILETYPE_EXECUTABLE | Executable file

### REFERENCE

  `buFindFirstFile()
  buFindNextFile()
  buGetFileInfo()
  `

BUS_FILEINFO

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999