Re: finding how much the file system is full, from a C program?
- From: SM Ryan <wyrmwif@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 07:30:52 -0000
"Herbert Rosenau" <os2guy@xxxxxxxxxxxxx> wrote:
# > In ANSI C you can do something like
# > system("df -k /mnt/mvdg1/vset >/tmp/df-k");
#
# That is not ANSI C. The parameter of system is system dependant and
# unportable.
Nice try, kid, but the system() function has been in ANSI C
from the beginning.
# On my system is no directory mnt.
And I guess you don't know enough C to use program arguments
or how to construct strings.
--
SM Ryan http://www.rawbw.com/~wyrmwif/
She broke your heart and inadvertently drove men to deviant lifestyles.
.
- Follow-Ups:
- Re: finding how much the file system is full, from a C program?
- From: Herbert Rosenau
- Re: finding how much the file system is full, from a C program?
- References:
- Re: finding how much the file system is full, from a C program?
- From: Herbert Rosenau
- Re: finding how much the file system is full, from a C program?
- Prev by Date: Re: about TorboC
- Next by Date: Re: C Interview Questions
- Previous by thread: Re: finding how much the file system is full, from a C program?
- Next by thread: Re: finding how much the file system is full, from a C program?
- Index(es):
Relevant Pages
|