Finding diskspace status programatically.
Dave Decot
decot at hpisod2.HP.COM
Wed Sep 13 03:30:24 AEST 1989
> AT&T UNIX System V Programmer's Reference Manual, statfs(2):
>
> "statfs obsoletes ustat and should be used in preference to it in new
> programs."
>
> Much better all round.
Except that if you want to port it to BSD, you'll find your program
failing in mysterious and wonderful ways, because although a function of the
same name is present, the number and types of the arguments are different.
Good going, folks.
Dave
More information about the Comp.unix.questions
mailing list