##### Shinobi Library - File System Function

# gdFsGetStat

Gets the handle status

### FORMAT

`

  Sint32 gdFsGetStat( gdfs )
  GDFS gdfs

`

### PARAMETER

  `gdfs` | File handle

### RETURN

  GDD_STAT_IDLE | Idle |
  GDD_STAT_COMPLETE | Operation complete |
  GDD_STAT_READ | Read in progress |
  GDD_STAT_ERR | Error occurred |
  GDD_STAT_FATAL | Fatal error occurred |

### DESCRIPTION

  Gets handle status.

### EXAMPLE

      GDFS gf;
      Uint32 buf[32*2048/4];
      gf = gdFsOpen("TEST.BIN", NULL);
      gdFsReqRd32(gf, 32, buf);
      while (gdFsGetStat(gf) == GDD_STAT_READ);
      gdFsClose(gf);

gdFsGetStat

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999