From: beaumont@sesinsud.com (Bruno BEAUMONT)
Subject: Using statfs or statvfs in C++ on DEC
Date: 1999/09/23 [thread overview]
Message-ID: <37ed2a8f.285007298@news.dial.oleane.net> (raw)
I have to know filesystem's free space on a DEC alpha with OSF1 V4.0.
I compile with egcs-2.91.66 C++ source code.
I use statfs or statvfs.
I achieved to compile in C but not in C++. Errors occur with statfs
(at compilation time) and statvfs (at linking time):
with statfs: statfs.cpp:83: no matching function for call to
`statfs::statfs (char[256], statfs *)'
/usr/include/sys/mount.h:429: candidates are:
statfs::statfs(const statfs &)
/usr/include/sys/mount.h:429: statfs::statfs()
with statvfs: /usr/bin/ld:
Unresolved:
statvfs(char const *, statvfs *)
collect2: ld returned 1 exit status
Could anyone help me ?
Thanks.
reply other threads:[~1999-09-23 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox