check_time2.c
来自「xen虚拟机源代码安装包」· C语言 代码 · 共 19 行
C
19 行
/* CB_SYS_time doesn't implement the Linux time syscall; the return value isn't written to the argument. */#include <time.h>#include <stdio.h>#include <stdlib.h>intmain (void){ time_t x = (time_t) -1; time_t t = time (&x); if (t == (time_t) -1 || t != x) abort (); printf ("pass\n"); exit (0);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?