]> gitweb.factorcode.org Git - factor.git/blob - basis/unix/getfsstat/netbsd/netbsd.factor
18064822ebe39cc772ff7ec796278b8ce83bc030
[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 constants ;
4 IN: unix.getfsstat.netbsd
5
6 CONSTANT: MNT_WAIT   1 ! synchronously wait for I/O to complete
7 CONSTANT: MNT_NOWAIT 2 ! start all I/O, but do not wait for it 
8 CONSTANT: MNT_LAZY   3 ! push data not written by filesystem syncer 
9
10 FUNCTION: int getvfsstat ( statfs* buf, int bufsize, int flags ) ;