📄 stat7.c
字号:
/*#notarget: cris*-*-elf*/#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include <stdio.h>#include <errno.h>#include <stdlib.h>int main (void){ struct stat buf; /* From Linux, we get EFAULT. The simulator sends us EINVAL. */ if (lstat (NULL, &buf) != -1 || (errno != EINVAL && errno != EFAULT)) { perror ("lstat 1"); abort (); } printf ("pass\n"); exit (0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -