]> gitweb.factorcode.org Git - factor.git/blob - basis/unix/getfsstat/netbsd/netbsd.factor
Merge branch 'master' into experimental (untested!)
[factor.git] / basis / unix / getfsstat / netbsd / netbsd.factor
1 ! Copyright (C) 2008 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: alien.syntax ;
4 IN: unix.getfsstat.netbsd
5
6 : MNT_WAIT        1       ; inline ! synchronously wait for I/O to complete
7 : MNT_NOWAIT      2       ; inline ! start all I/O, but do not wait for it 
8 : MNT_LAZY        3       ; inline ! push data not written by filesystem syncer 
9
10 FUNCTION: int getvfsstat ( statfs* buf, int bufsize, int flags ) ;