日期:2014-05-16 浏览次数:20727 次
memcpy(i_file_name,argv[1],128);
memcpy(o_file_name,argv[2],128);
if((i_fp=fopen(i_file_name,"rb"))==NULL)
{
CBSLog(RunLogFile,"open [%s] error!\n",i_file_name);
return -1;
}
if((o_fp=fopen(o_file_name,"w"))==NULL)
{
CBSLog(RunLogFile,"open [%s] error!\n",i_file_name);
fclose(i_fp);
return -1;
}