Data update
This commit is contained in:
parent
0df55f9f24
commit
aec8ed51b6
1045 changed files with 18889 additions and 2777 deletions
4
Task/Truncate-a-file/Forth/truncate-a-file.fth
Normal file
4
Task/Truncate-a-file/Forth/truncate-a-file.fth
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
: truncate-file ( fname fnamelen fsize -- )
|
||||
0 2swap r/w open-file throw
|
||||
dup >r resize-file throw
|
||||
r> close-file throw ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue