how to detect out of disk space
Alexandre Oliva
aoliva@redhat.com
Tue May 15 21:19:00 GMT 2001
On May 16, 2001, "Sunit Bhatia" <bhatia_sunit@hotmail.com> wrote:
> does any body know how to detect how much disk space is left ?
This message is inappropriate for this mailing list, whose topic is
the development *of* GCC (not *with* GCC).
> Is there a c library call, which I can use to find this out ?
It depends on which C library you're using.
> I need to find this out for Solaris and Linux operating system.
Try statvfs and statfs, respectively.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc
mailing list