logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

swap.h (332B)


  1. #ifndef _SYS_SWAP_H
  2. #define _SYS_SWAP_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #define SWAP_FLAG_PREFER 0x8000
  7. #define SWAP_FLAG_PRIO_MASK 0x7fff
  8. #define SWAP_FLAG_PRIO_SHIFT 0
  9. #define SWAP_FLAG_DISCARD 0x10000
  10. int swapon (const char *, int);
  11. int swapoff (const char *);
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif