> The include files, and the call to statfs() must be changed for IRIX.
> So that brings up another question: is it possible to get filesystem
> info in a machine-independent way?
I ran into a similar version of this problem with fstatfs() and solved
it with an ifdef and a macro:
/*
* Friggin' SGI *has* to be different...
*/
#if defined( sgi )
#include <sys/statfs.h>
#define FSTATFS(a,b) fstatfs( a, b, sizeof( struct statfs ), 0 )
#endif
#if defined( sun )
#include <sys/vfs.h>
#define FSTATFS(a,b) fstatfs( a, b )
#endif
The solution for statfs() is similar.
spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/