Changeset View
Changeset View
Standalone View
Standalone View
contrib/netbsd-tests/lib/libc/sys/t_mlock.c
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <unistd.h> | #include <unistd.h> | ||||
#ifdef __FreeBSD__ | #ifdef __FreeBSD__ | ||||
#include <limits.h> | #include <limits.h> | ||||
#define _KMEMUSER | #define _KMEMUSER | ||||
#include <machine/vmparam.h> | #include <machine/vmparam.h> | ||||
void set_vm_max_wired(int); | void set_vm_max_wired(u_long); | ||||
void restore_vm_max_wired(void); | void restore_vm_max_wired(void); | ||||
#endif | #endif | ||||
static long page = 0; | static long page = 0; | ||||
ATF_TC(mlock_clip); | ATF_TC(mlock_clip); | ||||
ATF_TC_HEAD(mlock_clip, tc) | ATF_TC_HEAD(mlock_clip, tc) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 395 Lines • Show Last 20 Lines |