#include <stdio.h>
static CHAR sucfname[100] = "";sprintf( sucfname, "%s%02d%s", "/mnt/XGeMonitor", ucSlotNo, ".txt" );
FILE *pf = fopen(sucfname, “wr");
if(NULL == pf)
{
return ERROR;
}
fprintf(pf, "para1=0x%x, para2=%x ", para1, para2);