swap.c\linux\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/linux/swap.c
blob: 8137d51ebff34c0e3658adaa1ca476fcacaf0dc5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <sys/swap.h>
#include "syscall.h"
int swapon(const char *path, int flags)
{
	return syscall(SYS_swapon, path, flags);
}
int swapoff(const char *path)
{
	return syscall(SYS_swapoff, path);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月01日 06:30:13 +0000

AltStyle によって変換されたページ (->オリジナル) /