mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-03 09:48:29 +00:00
Make redbean unix.open default to O_RDONLY
This commit is contained in:
parent
ec6e0fa5f4
commit
0f6251f4d2
2 changed files with 3 additions and 3 deletions
|
@ -1493,7 +1493,7 @@ UNIX MODULE
|
|||
|
||||
`flags` should have one of:
|
||||
|
||||
- `O_RDONLY`: open for reading
|
||||
- `O_RDONLY`: open for reading (default)
|
||||
- `O_WRONLY`: open for writing
|
||||
- `O_RDWR`: open for reading and writing
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue