ÊÇÓÃva_listµÄº¯Êý£¬´ÓLinuxתµ½windows²»ÄÜʹÓã¿
int write_to_log(char *content, ...)
{
if(logfile == NULL){
fprintf(stderr, "logfile must be initialized!\n", stderr);
return(-1);
}
va_list argument;
va_start(argument, content);
vfprintf(logfile, content, argument);
va_end(argument);
return 0;
}
ÉÏÃæÊǺ¯ÊýÔÐÍ
ÏÂÃæÊÇÔÚvc 6.0ϱàÒëºó±¨µÄ´í
e:\vc6.0ÍêÕûÂÌÉ«°æ\myprojects\server\share.c(62) : error C2275: 'va_list' : illegal use of this type as an expression
e:\vc6.0ÍêÕûÂÌÉ«°æ\vc98\include\stdio.h(97) : see declaration of 'va_list'
e:\vc6.0ÍêÕûÂÌÉ«°æ\myprojects\server\share.c(62) : error C2146: syntax error : missing ';' before identifier 'argument'
e:\vc6.0ÍêÕûÂÌÉ«°æ\myprojects\server\share.c(62) : error C2065: 'argument' : undeclared identifier
e:\vc6.0ÍêÕûÂÌÉ«°æ\myprojects\server\share.c(63) : warning C4047: '=' : 'int ' differs in levels of indirection from 'char *'
e:\vc6.0ÍêÕûÂÌÉ«°æ\myprojects\server\share.c(64) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int '
e:\vc6.0ÍêÕûÂÌÉ«°æ\myprojects\server\share.c(64) : warning C4024: 'vfprintf' : different types for formal and actual parameter 3
e:\vc6.0ÍêÕûÂÌÉ«°æ\myprojects\server\sha
Ïà¹ØÎÊ´ð£º
linux Ͻø³Ì´´½¨¡£
ʹÓÃvfork() º¯Êý´´½¨ÁË×Ó½ø³Ìºó£¬×Ó½ø³ÌÏÈÐÐÖ´ÐУ¬ÔÚ×Ó½ø³Ìµ÷ÓÃexit»òexec֮ǰ¸¸½ø³Ì´¦ÓÚʲô״̬£¿£¿
²»ÖªµÀ£»Ê×ÏÈδ±ØÊÇ×Ó½ø³ÌÏÈÖ´ÐУ»µÚ2¸¸½ø³ÌÒ²´¦ÓÚÖ´ÐÐ״̬£»ÖÁÓÚ¸¸½ø³Ìµ½µ××öʲô£»¿´´ ......
Ó¦ÓÃϵͳÊǰ²×°ÔÚ /opt Ŀ¼Ï£¬/opt Ŀ¼ÊÇÊôÓÚ¸ùĿ¼ / ϵġ£ÁíÍâÒ»¸öÎļþϵͳµÄ¹ÒÔØµãÊÇÔÚ/aaaĿ¼Ï£¬¿É·ñ½«/optĿ¼ÏµÄËùÓÐÎļþcopyµ½/aaaĿ¼Ï£¬umount ÔÚ/aaaĿ¼ÏµĹÒÔØµã£¬½«/aaa¸ÄÃû/optĿ¼£¬ÔÙ½«ÔÀ ......
ÎÒÓÃRPM±¨°²×°ÁËÒ»¸öÀϰ汾µÄJRE£¬ºóÀ´Ïëװа汾µÄ£¬
²»¹ý£¬ÎÒ°Ñ/usr/javaĿ¼ֱ½Ó¸øÉ¾ÁË£¬
ºóÔÙ°²×°µÄʱºò£¬×ÜÊÇÌáʾ°æ±¾³åÍ»£¬
¶øÇÒÎÒÓÃRPM°üÐ¶ÔØÊ±Ò²ÕÒ²»µ½ÎļþÁË¡£
ÎÒ¶ÔLINUX²»ÊìϤ£¬Ï£Íû¸ßÊÖ°ïæ¡£
http: ......
×ÉѯQQ£º269562808
bzip2recover
¹¦ÄÜ˵Ã÷£ºÓÃÀ´ÐÞ¸´Ë𻵵Ä.bz2Îļþ¡£
Óï·¨£ºbzip2recover[.bz2ѹËõÎļþ]
²¹³ä˵Ã÷£ºbzip2ÊÇÒÔÇø¿éµÄ·½Ê½À´Ñ¹ËõÎļþ£¬Ã¿¸öÇø¿éÊÓΪ¶ÀÁ¢µÄµ¥Î»¡£Òò´Ë£¬µ±Ä³Ò»Çø
¿éËð»µÊ±£¬±ã¿ÉÀû ......