Message-ID: <395E8D99.5FF683@user.rose.com> From: April X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {TLC;RETAIL} (Win95; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: ftruncate function Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 16 Date: Sat, 01 Jul 2000 19:32:25 -0500 NNTP-Posting-Host: 205.189.215.27 X-Trace: client 962554658 205.189.215.27 (Sun, 02 Jul 2000 12:17:38 EDT) NNTP-Posting-Date: Sun, 02 Jul 2000 12:17:38 EDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Using djgpp 2.9.5.2, I want to use the ftruncate() function to increase the size of my file; according to the documentation, it is to return non-zero on failure. I am testing with my ram-drive, and when all available space is allocated, zero is still returned. I have also tested on my hard-drive (enlarging the file to a reasonable size then an unreasonable size). Both returned zero. Is this a bug? Feature? A.