posixTruncate

fun posixTruncate(file: String, size: Long): Int