C
漫话Redis源码之十九
看一下这个代码片段,再次展现了linux的严谨,既考虑了linux,也考虑了APPLE#if__linux__if(!(tmp=strdup(program_invocation_name)))gotosyerr;program_invocation_name=tmp;if(!(tmp=strdup(program_invocation_short_name)))gotosyerr;program