mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-24 18:20:59 +00:00
Write more memory mapping tests
Microsoft claims to support COW but it's probably not true.
This commit is contained in:
parent
74d48f7cb6
commit
2fdc19e7a7
6 changed files with 83 additions and 29 deletions
|
|
@ -8,8 +8,8 @@ struct DirectMap {
|
|||
int64_t maphandle;
|
||||
};
|
||||
|
||||
struct DirectMap __mmap(void *, size_t, unsigned, unsigned, int, int64_t);
|
||||
struct DirectMap __sys_mmap_nt(void *, size_t, unsigned, int64_t, int64_t);
|
||||
struct DirectMap __mmap(void *, size_t, int, int, int, int64_t);
|
||||
struct DirectMap sys_mmap_nt(void *, size_t, int, int, int64_t, int64_t);
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue