added nio_fscanf and nio_scanf