[7239] in Athena Bugs

home help back first fref pref prev next nref lref last post

rt 7.2R: statfs(2)

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Mon Mar 4 19:37:21 1991

Date: Mon, 4 Mar 91 19:37:02 -0500
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@ATHENA.MIT.EDU

System name:		pit-manager
Type and version:	RTPC-ROMPC 7.2R
Display type:		apa16
			megapel

What were you trying to do?
	Use statfs().

What's wrong:
	The man page mentions that you need <sys/vfs.h> to use
	statfs(), but doesn't mention that you need <sys/types.h>
	before.

What should have happened:
	It should have #include <sys/types.h> before #include
	<sys/vfs.h>.

Please describe any relevant documentation references:
	/usr/man/man2/statfs.2.

  jik


home help back first fref pref prev next nref lref last post