Merge pull request #34 from nineties/create_mode

create file with mode 0644
This commit is contained in:
Koichi NAKAMURA 2021-12-19 23:00:49 +09:00 committed by GitHub
commit 62b3e3c2ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2464,7 +2464,7 @@ BLOCK-SIZE remaining-size !
6 constant SYS-CLOSE 6 constant SYS-CLOSE
: (open) ( c-addr fam -- fd ) : (open) ( c-addr fam -- fd )
swap SYS-OPEN syscall2 %110100100 .s -rot swap SYS-OPEN syscall3
; ;
: (close) ( obj -- n ) : (close) ( obj -- n )