Use proper i/o calls to put error on cstrtouXCStyle.