munmap.c\mman\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/mman/munmap.c
blob: 2bf83bbe9b702144b8268fdf91a50f1154899367 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <sys/mman.h>
#include "syscall.h"
static void dummy(void) { }
weak_alias(dummy, __vm_wait);
int __munmap(void *start, size_t len)
{
	__vm_wait();
	return syscall(SYS_munmap, start, len);
}
weak_alias(__munmap, munmap);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月09日 08:48:34 +0000

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