mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-02 17:28:30 +00:00
Add more apis to redbean unix module
- Document unix.fcntl() - Add POSIX Advisory Locks - Add mask parameter to unix.poll() - Add lowest parameter to unix.dup()
This commit is contained in:
parent
ce588dd56b
commit
a1aaf23dc1
16 changed files with 432 additions and 102 deletions
|
@ -213,7 +213,7 @@ syscon open O_VERIFY 0 0 0x00200000 0 0 0 #
|
|||
syscon open O_SHLOCK 0 0x00000010 0x00000010 0x00000010 0x00000010 0 #
|
||||
syscon open O_EXLOCK 0 0x00000020 0x00000020 0x00000020 0x00000020 0 #
|
||||
syscon open O_TTY_INIT 0 0 0x00080000 0 0 0 #
|
||||
syscon compat O_LARGEFILE 0 0 0 0 0 0 #
|
||||
syscon compat O_LARGEFILE 0100000 0 0 0 0 0 #
|
||||
|
||||
# mmap() flags
|
||||
# the revolutionary praxis of malloc()
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon compat,O_LARGEFILE,0,0,0,0,0,0
|
||||
.syscon compat,O_LARGEFILE,0100000,0,0,0,0,0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue