]> gitweb.factorcode.org Git - factor.git/blob - basis/unix/getfsstat/openbsd/openbsd.factor
Merge qualified, alias, symbols, constants into core
[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 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 getfsstat ( statfs* buf, int bufsize, int flags ) ;