aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libc_compat/memfd_create/sys/mman.h
blob: d36e9bdbe4054280b65a5ff7b2e3ab68c31607fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include_next <sys/mman.h>

#ifdef __cplusplus
extern "C" {
#endif

#define MFD_CLOEXEC 		0x0001U
#define MADV_WIPEONFORK  	18

int memfd_create(const char *name, unsigned flags);

#ifdef __cplusplus
} // extern "C"
#endif