Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Using statfs or statvfs in C++ on DEC
@ 1999-09-23  4:00 Bruno BEAUMONT
  0 siblings, 0 replies; only message in thread
From: Bruno BEAUMONT @ 1999-09-23  4:00 UTC (permalink / 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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-09-23  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-23  4:00 Using statfs or statvfs in C++ on DEC Bruno BEAUMONT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox