Some systems support multiple diskette formats which have different sector sizes. The following function returns the sector size of the currently inserted disk:
sectsize_t __fastcall__ dio_query_sectsize(dhandle_t handle);
On the Atari platform, the sector size is handled specially. Please refer to the DIO section in the Atari specific platform documentation.