* Catching full disk space error
@ 2004-01-21 5:49 Reschke Benjamin-A16256
2004-01-21 13:28 ` Axel Siebenwirth
0 siblings, 1 reply; 2+ messages in thread
From: Reschke Benjamin-A16256 @ 2004-01-21 5:49 UTC (permalink / raw)
To: 'gcc-help@gcc.gnu.org'
Hi,
I want to be able to catch a 'disk space full' error. Is there either an exception or signal I can catch or a way of working out how much disk space is available on a disk.
I am using both GCC 2.95.3 and 3.2, on Solaris 8, HP-UX 11 and Linux machines. So if possible I would like a solution which is portalable across all these.
TIA
Ben
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Catching full disk space error
2004-01-21 5:49 Catching full disk space error Reschke Benjamin-A16256
@ 2004-01-21 13:28 ` Axel Siebenwirth
0 siblings, 0 replies; 2+ messages in thread
From: Axel Siebenwirth @ 2004-01-21 13:28 UTC (permalink / raw)
To: Reschke Benjamin-A16256; +Cc: 'gcc-help@gcc.gnu.org'
Hi Benjamin!
On Wed, 21 Jan 2004, Reschke Benjamin-A16256 wrote:
> I want to be able to catch a 'disk space full' error. Is there either an exception or signal I can catch or a way of working out how much disk space is available on a disk.
>
> I am using both GCC 2.95.3 and 3.2, on Solaris 8, HP-UX 11 and Linux machines. So if possible I would like a solution which is portalable across all these.
glibc library functions return a ENOSPC error when trying to write to a full
disk.
(http://www.gnu.org/software/libc/manual/html_mono/libc.html#Error%20Reporting)
Axel
____________________________________________________________________________
Axel Siebenwirth phone +49 3641 776807 |
Am Birnstiel 3 axel at pearbough dot net |
07745 Jena |
Germany________________________________________________http://pearbough.net |
"I used to think I was indecisive, but now I'm not so sure."
____________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-21 13:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-21 5:49 Catching full disk space error Reschke Benjamin-A16256
2004-01-21 13:28 ` Axel Siebenwirth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).