delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/27/11:00:30

From: robk AT cyberway DOT com DOT sg (Rob Kramer)
Newsgroups: comp.os.msdos.djgpp
Subject: open() / write() doesn't fail on disk full?
Date: Tue, 27 Apr 1999 14:27:39 +0800
Message-ID: <MPG.118fd94ddcf59d33989685@news.cyberway.com.sg>
Organization: Infologic Pte Ltd
X-Newsreader: Anawave Gravity v2.00
NNTP-Posting-Host: 203.116.124.123
Lines: 11
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi all,

I noticed that open/write or fopen/fwrite seem to handle my disk running 
out of space as if nothting special is going on. I would expect them to 
bomb and set errno appropriately. Instead, I get return codes which are 
the same as normal operation. Is this a DOS thing?

Thanks!

	RoB

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019