source:
asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/linux/swap.c@
403
Last change on this file since 403 was 337, checked in by , 6 years ago | |
---|---|
|
|
File size: 201 bytes |
Line | |
---|---|
1 | #include <sys/swap.h> |
2 | #include "syscall.h" |
3 | |
4 | int swapon(const char *path, int flags) |
5 | { |
6 | return syscall(SYS_swapon, path, flags); |
7 | } |
8 | |
9 | int swapoff(const char *path) |
10 | { |
11 | return syscall(SYS_swapoff, path); |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.