--- truncate(length)

    եΥ length ХȤˤޤե뤬
    ߥ⡼ɤǥץ󤵤Ƥʤ㳰 IOError ȯޤ

    ѹ 0 ֤ޤԤ㳰 
    Errno::EXXX ȯޤ

