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