mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
create file with mode 0644
This commit is contained in:
parent
79ff253b9c
commit
9caf854e0c
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
||||||
|
|
Loading…
Reference in a new issue