#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\n", para1, para2);

相关文章:

  • 2022-12-23
  • 2021-07-08
  • 2021-07-23
  • 2021-11-30
  • 2021-12-14
  • 2021-12-18
猜你喜欢
  • 2022-12-23
  • 2021-10-18
  • 2021-08-05
  • 2021-06-26
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案