Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Side by Side Diff: fusl/include/sys/mman.h

Issue 1689833004: [fusl] Update fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: remove stray space Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/signal.h ('k') | fusl/include/sys/prctl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef _SYS_MMAN_H 1 #ifndef _SYS_MMAN_H
2 #define _SYS_MMAN_H 2 #define _SYS_MMAN_H
3 #ifdef __cplusplus 3 #ifdef __cplusplus
4 extern "C" { 4 extern "C" {
5 #endif 5 #endif
6 6
7 #include <features.h> 7 #include <features.h>
8 8
9 #define __NEED_mode_t 9 #define __NEED_mode_t
10 #define __NEED_size_t 10 #define __NEED_size_t
(...skipping 21 matching lines...) Expand all
32 int munlockall (void); 32 int munlockall (void);
33 33
34 #ifdef _GNU_SOURCE 34 #ifdef _GNU_SOURCE
35 #define MREMAP_MAYMOVE 1 35 #define MREMAP_MAYMOVE 1
36 #define MREMAP_FIXED 2 36 #define MREMAP_FIXED 2
37 void *mremap (void *, size_t, size_t, int, ...); 37 void *mremap (void *, size_t, size_t, int, ...);
38 int remap_file_pages (void *, size_t, int, size_t, int); 38 int remap_file_pages (void *, size_t, int, size_t, int);
39 #endif 39 #endif
40 40
41 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) 41 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
42 #define MLOCK_ONFAULT 0x01
42 int madvise (void *, size_t, int); 43 int madvise (void *, size_t, int);
43 int mincore (void *, size_t, unsigned char *); 44 int mincore (void *, size_t, unsigned char *);
44 #endif 45 #endif
45 46
46 int shm_open (const char *, int, mode_t); 47 int shm_open (const char *, int, mode_t);
47 int shm_unlink (const char *); 48 int shm_unlink (const char *);
48 49
49 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE) 50 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
50 #define mmap64 mmap 51 #define mmap64 mmap
51 #define off64_t off_t 52 #define off64_t off_t
52 #endif 53 #endif
53 54
54 #ifdef __cplusplus 55 #ifdef __cplusplus
55 } 56 }
56 #endif 57 #endif
57 #endif 58 #endif
OLDNEW
« no previous file with comments | « fusl/include/signal.h ('k') | fusl/include/sys/prctl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698