##### Shinobi Library - File System Function

# gdFsRead

Reads a file

### FORMAT

`

  Sint32 gdFsRead( gdfs, nsct, *buf )
  GDFS gdfs
  Sint32 nsct
  void *buf

`

### PARAMETER

  `gdfs` | File handle
  `nsct` | Number of sectors to be read
  `*buf` | Pointer of storage buffer

### RETURN

  GDD_ERR

### DESCRIPTION

  Reads a file. Control does not return from the function until the read is completed. (Return on completion)

### EXAMPLE

      GDFS gf;
      Sint32 buf[32*2048/4];
      gf = gdFsOpen("TEST.BIN", NULL);
      gdFsRead(gf, 32, buf);
      gdFsClose(gf);

gdFsRead

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999