using c api write() in ibmi

visit shbcf.ru