mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 21:10:29 +00:00
Make mmap() work better
- Mapping file offsets now works on Windows - Mapping stack memory now works on OpenBSD
This commit is contained in:
parent
23a14b537c
commit
27c899af56
10 changed files with 71 additions and 56 deletions
|
@ -1,2 +1,2 @@
|
|||
.include "libc/sysv/consts/syscon.inc"
|
||||
.syscon open O_ACCMODE 3 3 3 3 0xc0000000
|
||||
.syscon open O_ACCMODE 3 3 3 3 0xE0000000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
.include "libc/sysv/consts/syscon.inc"
|
||||
.syscon open O_RDONLY 0 0 0 0 0x80000000
|
||||
.syscon open O_RDONLY 0 0 0 0 0xA0000000
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
.include "libc/sysv/consts/syscon.inc"
|
||||
.syscon open O_RDWR 2 2 2 2 0xc0000000
|
||||
.syscon open O_RDWR 2 2 2 2 0xE0000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue