[comp.sys.ibm.pc] random access bdos functions

dg@wrs.UUCP (David Goodenough) (08/20/87)

This is a quick question to any MS-DOS gurus out there:

I've seen that a lot of the MS-DOS bdos functions are the same as CP/M, e.g.
0x0f is open file, 0x14 read file sequential, etc. etc. etc. In CP/M there
exists a function called "write random with zero fill", what it does is
about the same as a lseek way past the end of file under UNIX, followed by
a write: effectively creating a file with a hole in it. Is there some way
of doing this under MS-DOS, given that is uses a linked list structure for
keeping track of what clusters live in what file.
--
		dg@wrs.UUCP - David Goodenough

					+---+
					| +-+-+
					+-+-+ |
					  +---+