Merge pull request #35 from nineties/o_trunc

Set O_TRUNC by default
This commit is contained in:
Koichi NAKAMURA 2021-12-19 23:08:57 +09:00 committed by GitHub
commit 3ea474ed49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1691,9 +1691,9 @@ do-stack 16 cells + do-sp !
-1 constant EOF -1 constant EOF
\ file access methods (fam) \ file access methods (fam)
0x00 constant R/O \ read-only 0x000 constant R/O \ read-only
0x41 constant W/O \ write-only 0x241 constant W/O \ write-only
0x42 constant R/W \ read-write 0x242 constant R/W \ read-write
1024 constant BUFSIZE 1024 constant BUFSIZE
128 constant FILENAME-MAX 128 constant FILENAME-MAX