Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!rutgers!mtune!codas!cpsc6a!rtech!wrs!dg From: dg@wrs.UUCP (David Goodenough) Newsgroups: comp.sys.ibm.pc Subject: random access bdos functions Message-ID: <311@wrs.UUCP> Date: Thu, 20-Aug-87 14:45:02 EDT Article-I.D.: wrs.311 Posted: Thu Aug 20 14:45:02 1987 Date-Received: Sun, 23-Aug-87 04:00:07 EDT Reply-To: dg@wrs.UUCP (David Goodenough) Organization: Wind River Systems, Emeryville, CA Lines: 16 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 +---+ | +-+-+ +-+-+ | +---+