🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #14124

Re: Programming: free space on disk

#14124
From: Brian Hernacki
Date: Thu, 16 Jan 1997 00:00
14 lines
1143 bytes
Vladimir Eliachevitch wrote:
> I need in my c-program ( I use watcom c 10.6) to get information
> about the total and free space in HPFS and NTFS Partitions under
> Win NT. The function _getdiskfree and _dos_getdiskfree produce
> under NTFS and HPFS the false result. It must exist other
> functions and possibilities to get this information.

Try the win32api function GetDiskFreeSpace(), it seems to produce
correct results for me.

--brian

Technical Details
Message-ID: <32DE6FE1.1D8F@netscape.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <32DE3C27.1AA@fr.bosch.de>

Show Full Headers
Complete Article Headers
Message-ID: <32DE6FE1.1D8F@netscape.com>
Subject: Re: Programming: free space on disk
Date: Thu, 16 Jan 1997 00:00:00 +0000
From: Brian Hernacki <bhern@netscape.com>
References: <32DE3C27.1AA@fr.bosch.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 210224862
Distribution: inet
Content-type: text/plain; charset=us-ascii
Organization: Netscape, Floating Point Division
Mime-version: 1.0
Newsgroups: news.software.nntp
X-mailer: Mozilla 3.0GoldC (X11; U; SunOS 5.5 sun4u)