/usr/include/diet/sys/swap.h is in dietlibc-dev 0.33~cvs20120325-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #ifndef _SYS_SWAP_H
#define _SYS_SWAP_H
#include <sys/cdefs.h>
#define SWAP_FLAG_PREFER 0x8000 /* set if swap priority specified */
#define SWAP_FLAG_PRIO_MASK 0x7fff
#define SWAP_FLAG_PRIO_SHIFT 0
#define MAX_SWAPFILES 32
__BEGIN_DECLS
extern int swapon (const char *path, int flags) __THROW;
extern int swapoff (const char *path) __THROW;
__END_DECLS
#endif /* _SYS_SWAP_H */
|