Make mmap() work better
- Mapping file offsets now works on Windows - Mapping stack memory now works on OpenBSD
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user