]> gitweb.factorcode.org Git - factor.git/blob - basis/unix/getfsstat/freebsd/freebsd.factor
Merge qualified, alias, symbols, constants into core
[factor.git] / basis / unix / getfsstat / freebsd / freebsd.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.freebsd
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 CONSTANT: MNT_SUSPEND     4       ! Suspend file system after sync 
10
11 FUNCTION: int getfsstat ( statfs* buf, int bufsize, int flags ) ;