1
0
mirror of https://github.com/fluencelabs/musl synced 2025-06-22 19:21:58 +00:00
Files
arch
crt
dist
include
arpa
linux
net
netinet
netpacket
sys
epoll.h
eventfd.h
file.h
inotify.h
ioctl.h
ipc.h
kd.h
klog.h
mman.h
mount.h
msg.h
param.h
poll.h
prctl.h
procfs.h
ptrace.h
reboot.h
reg.h
resource.h
select.h
sem.h
sendfile.h
shm.h
signalfd.h
socket.h
soundcard.h
stat.h
statfs.h
statvfs.h
stropts.h
swap.h
syscall.h
sysctl.h
sysinfo.h
syslog.h
sysmacros.h
time.h
times.h
timex.h
types.h
ucontext.h
uio.h
un.h
user.h
utsname.h
vfs.h
vt.h
wait.h
aio.h
alloca.h
assert.h
byteswap.h
cpio.h
ctype.h
dirent.h
dlfcn.h
elf.h
endian.h
err.h
errno.h
fcntl.h
features.h
fenv.h
float.h
fnmatch.h
ftw.h
getopt.h
glob.h
grp.h
iconv.h
inttypes.h
iso646.h
langinfo.h
libgen.h
libintl.h
limits.h
locale.h
malloc.h
math.h
mntent.h
mqueue.h
netdb.h
nl_types.h
paths.h
poll.h
pthread.h
pty.h
pwd.h
regex.h
resolv.h
sched.h
search.h
semaphore.h
setjmp.h
shadow.h
signal.h
spawn.h
stdarg.h
stdbool.h
stddef.h
stdint.h
stdio.h
stdio_ext.h
stdlib.h
string.h
strings.h
stropts.h
sysexits.h
syslog.h
tar.h
termios.h
time.h
ucontext.h
ulimit.h
unistd.h
utime.h
utmp.h
utmpx.h
wchar.h
wctype.h
wordexp.h
lib
src
tools
COPYING
COPYRIGHT
INSTALL
Makefile
README
WHATSNEW
musl/include/sys/mman.h

40 lines
725 B
C
Raw Normal View History

2011-02-12 00:22:29 -05:00
#ifndef _SYS_MMAN_H
#define _SYS_MMAN_H
#ifdef __cplusplus
extern "C" {
#endif
#define __NEED_mode_t
#define __NEED_size_t
#define __NEED_off_t
#include <bits/alltypes.h>
#include <bits/mman.h>
void *mmap (void *, size_t, int, int, int, off_t);
int munmap (void *, size_t);
int mprotect (void *, size_t, int);
int msync (void *, size_t, int);
int posix_madvise (void *, size_t, int);
int mlock (const void *, size_t);
int munlock (const void *, size_t);
int mlockall (int);
int munlockall (void);
2011-03-03 00:32:15 -05:00
#ifdef _GNU_SOURCE
2011-02-12 00:22:29 -05:00
void *mremap (void *, size_t, size_t, int, ...);
2011-03-03 00:32:15 -05:00
int madvise (void *, size_t, int);
#endif
2011-02-12 00:22:29 -05:00
int shm_open (const char *, int, mode_t);
int shm_unlink (const char *);
#ifdef __cplusplus
}
#endif
#endif