##### Shinobi Library - File System Macro

# gdFsCalcSctSize

Calculates the number of sectors on the basis of the number of bytes

### FORMAT

`

  gdFsCalcSctSize(bytes)

`

### PARAMETER

  `bytes` | File byte size

### RETURN

  Sector size

### DESCRIPTION

  Calculates the number of sectors on the basis of the number of bytes.

### EXAMPLE

      GDFS gf;
      Sint32 flen;
      Sint32 fslen;
      gf = gdFsOpen("TEST.BIN", NULL);
      gdFsGetFileSize(gdfs, &flen);
      fslen = gdFsCalcSctSize(flen);

gdFsCalcSctSize

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999