~ubuntu-branches/ubuntu/vivid/emscripten/vivid-proposed

« back to all changes in this revision

Viewing changes to system/include/libc/sys/swap.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2014-01-19 14:12:40 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140119141240-nfiw0p8033oitpfz
Tags: 1.9.0~20140119~7dc8c2f-1
* New snapshot release (Closes: #733714)
* Provide sources for javascript and flash. Done in orig-tar.sh
  Available in third_party/websockify/include/web-socket-js/src/
  (Closes: #735903)

Show diffs side-by-side

added added

removed removed

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