check_openpf2.c

来自「xen虚拟机源代码安装包」· C语言 代码 · 共 17 行

C
17
字号
/* Check that the simulator has chdir:ed to the --sysroot argument#sim: --sysroot=@srcdir@   (or that  --sysroot is applied to relative file paths).  */#include <stdio.h>#include <stdlib.h>#include <errno.h>int main (int argc, char *argv[]){  FILE *f = fopen ("check_openpf2.c", "rb");  if (f == NULL)    abort ();  close (f);  printf ("pass\n");  return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?