【求助】为何这段代码会被被杀软误报呢?
这个是一段取绝对路径的代码
程序代码:#include "stdio.h"
#include "unistd.h"
#include "limits.h"
#define _POSIX_PATH_MAX 256
# include "conio.h"
int main(void)
{
char currentDir[_POSIX_PATH_MAX];
if( getcwd( currentDir, sizeof(currentDir)-1 ) != NULL )
{
printf( "currentDir ==>> %s\n",currentDir );
}
else
{
printf( "Show currentDir error\n" );
}
getch(); //用来暂停一下,看输出结果
return 0;
}
为何编译出来会被杀软认为是病毒呢?







