2013年4月11日
摘要: 1 void log_file( const int pid,const char * str_fmt,...) 2 { 3 FILE *fp; 4 5 fp = fopen("myfile.txt", "a"); 6 7 if(fp) 8 { 9 static char log_trace[256];10 va_list ap;11 struct tm *tm;12 time_t t;13 14 va_start(ap, str_fmt);15 ... 阅读全文
posted @ 2013-04-11 13:44 F.C.CHELSEA 黑米 阅读(284) 评论(0) 推荐(0) 编辑