即使在vs代码中包含正确的头文件后,c的alarm()函数也未声明?

I am using alarm() function in c. Although I have declared #include<unistd.h>,I am still getting warning: implicit declaration of function 'alarm'.

为什么会这样呢?