可移植printf源码(五)

2014-11-23 22:08:39 ? 作者: ? 浏览: 14
break;
}
default:
{
/* output complete */
out_state = OUT_DONE;
break;
}
}
if (tmp_char != 0)
{
if(s != NULL)
*s++ = tmp_char;
else
(void)putchar(tmp_char);
total++;
}
}
while (out_state!=OUT_DONE);
format++;
} /* while format */
/* Insert NULL at the end of the string */
if(s != NULL)
*s = 0;
return total;
}
-->

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: