我有看起来像这样的玩具代码
#include <stdlib.h>
#include <unistd.h>
int main()
{
readlink("/proc/self/exe", "/my/path", 128);
return EXIT_SUCCESS;
}
当我编译时
icc main.c -o helloworld
一切都很好,但是当我尝试
icc -std=c99 main.c -o helloworld
或者
icc -std=c11 main.c -o helloworld
我收到错误消息
main.c(6): warning #266: function "readlink" declared implicitly
导致此错误的 c11(或 c99)标准是什么?