摘要:
#include <stdio.h>int d_save_file(int id, int buf_len, char *buf, char *dir){ static FILE *pfile[10]={0}; char filename[20]=""; if(id<0 || id>10 || buf_len<0 || buf==NULL) return -1; if(pfile[id]==NULL) { sprintf(filename,"wb_%d",id); pfile[id] = fopen(filename, &q 阅读全文
posted @ 2012-11-16 09:27
bluebbc
阅读(288)
评论(0)
推荐(0)

浙公网安备 33010602011771号