]> gitweb.factorcode.org Git - factor.git/blob - extra/unix/linux/swap/swap.factor
Merge branch 'master' of git://factorcode.org/git/factor
[factor.git] / extra / unix / linux / swap / swap.factor
1
2 USING: alien.syntax ;
3
4 IN: unix.linux.swap
5
6 : SWAP_FLAG_PREFER      HEX: 8000 ; ! Set if swap priority is specified.
7 : SWAP_FLAG_PRIO_MASK   HEX: 7fff ;
8 : SWAP_FLAG_PRIO_SHIFT  0 ;
9
10 FUNCTION: int swapon ( char* path, int flags ) ;
11
12 FUNCTION: int swapoff ( char* path ) ;