pub type TailWriterHandle = i32;