As we know VC's WriteFile()
writes data to the specified I/O device in OS(see WriteFile)
I want to know if there is such an api in pure dos for this purpose ? (Using Watcom C...)
Then I found _dos_write()
in watcom c library reference page 197(see _dos_write()
) and it uses system call 0x40 to write count bytes of data from the buffer pointed to by buffer to the file specified by handle
The count is unsigned
type and this means the max file count will be 65535.
My question is: is there any other api which can transfer more than 65536 bytes "once" (like WriteFile()
does) in pure DOS ?
P.s. It is NOT about the command prompt in Windows!