HelpPC 2.10 Quick Reference Utility Copyright 1991 David Jurgens

     TC: int abswrite( int drive, int sectors, int start, void *buffer )


       - prototype in dos.h

       - writes absolute logical disk sectors
       - drive =  (0=A:, 1=B:, 2=C:, ...)
       - sectors = # of sectors to write
       - start = beginning logical sector number
       - buffer = address of buffer
       - TC++ accounts for DOS 4.x+ long sector values while TC 2.0 and
         earlier do not (see INT 25)
       - returns 0 if OK; -1 on error; errno has DOS error number

Esc or Alt-X to exit abswrite Home/PgUp/PgDn/End ←↑↓→
Converted to HTML in 2006 by Timo Bingmann