ftruncate: implementation java side
ftruncate: implementation native code side
update version
Merge branch 'ftrunc'