##### Shinobi Library - File System Function

# gdFsGetErrStat

Gets the handle error status

### FORMAT

`

  Sint32 gdFsGetErrStat( gdfs )
  GDFS gdfs

`

### PARAMETER

  `gdfs` | File handle

### RETURN

  GDD_ERR

### DESCRIPTION

  Gets the handle error status.

### EXAMPLE

      GDFS gf;
      Uint32 buf[32*2048/4];
      Sint32 stat;
      Sint32 err;
      gf = gdFsOpen("TEST.BIN", NULL);
      gdFsReqRd32(gf, 32, buf);
      while ((stat = gdFsGetStat(gf)) == GDD_STAT_READ);
      if (stat == GDD_STAT_ERR) {
        err = gdFsGetErrStat(gf);
        /* error processing */
      }
      gdFsClose(gf);

gdFsGetErrStat

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999