Re: statfs(), xforms, and linux

Ivan Powis (pczip@chemistry.nottingham.ac.uk)
Fri, 25 Apr 1997 15:50:45 BST

To subscribers of the xforms list from Ivan Powis <pczip@chemistry.nottingham.ac.uk> :

>
> To subscribers of the xforms list from "Robert S. Mallozzi" <mallors@ips1.msfc.nasa.gov> :
>
> Hi guys,
>
> After pulling my hair out for a day, I finally isolated a problem
> on my linux machine. However, I fail to understand why this error
> occurs. If I use the statfs() function to obtain filesystem
> [...deleted]
> if (statfs("/", buf)) {

According to my man pages the second argumant to statfs should be a pointer
ie

stafs("/",&buf)

--
-------------------------------------------------------------------------+
    ___  ___/   _  __ /  Ivan Powis                TEL: +44-115-951-3467 |
        /         /   /  Department of Chemistry   FAX: +44-115-951-3562 |
       /         /  _/   University of Nottingham                        |
      /         ___/     Nottingham NG7 2RD                              |
     /         /         UK                                              |
    /         /                      pczip@chem.nott.ac.uk               | 
_______/  ____/                      http://www.chem.nott.ac.uk/IP.html  |
-------------------------------------------------------------------------+

_________________________________________________ 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/