mailing list of musl libc
 help / color / mirror / code / Atom feed
b5968d5f0e44d8534e1ada5da41d60aa1454658f blob 1161 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
 
#ifndef	_SYS_MMAN_H
#define	_SYS_MMAN_H
#ifdef __cplusplus
extern "C" {
#endif

#include <features.h>

#define __NEED_mode_t
#define __NEED_size_t
#define __NEED_off_t

#if defined(_GNU_SOURCE)
#define __NEED_ssize_t
#endif

#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 mlock2 (const void *, size_t, int);
int munlock (const void *, size_t);
int mlockall (int);
int munlockall (void);

#ifdef _GNU_SOURCE
#define MREMAP_MAYMOVE 1
#define MREMAP_FIXED 2
void *mremap (void *, size_t, size_t, int, ...);
int remap_file_pages (void *, size_t, int, size_t, int);
#endif

#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int madvise (void *, size_t, int);
int mincore (void *, size_t, unsigned char *);
#endif

int shm_open (const char *, int, mode_t);
int shm_unlink (const char *);

#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
#define mmap64 mmap
#define off64_t off_t
#endif

#ifdef __cplusplus
}
#endif
#endif
debug log:

solving 3c767ad ...
found 3c767ad in https://inbox.vuxu.org/musl/573A4C00-DD93-4023-BEA5-AE4DA2F0EA7E@akamai.com/
found 9fc2db5 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 9fc2db51d174e96a790623584539c71ac1f086c4	include/sys/mman.h

applying [1/1] https://inbox.vuxu.org/musl/573A4C00-DD93-4023-BEA5-AE4DA2F0EA7E@akamai.com/
diff --git a/include/sys/mman.h b/include/sys/mman.h\r
index 9fc2db5..3c767ad 100644\r

Checking patch include/sys/mman.h...
Applied patch include/sys/mman.h cleanly.

index at:
100644 b5968d5f0e44d8534e1ada5da41d60aa1454658f	include/sys/mman.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).