foo.c

来自「Path MPICH-V for MPICH the MPI Implement」· C语言 代码 · 共 19 行

C
19
字号
#include <assert.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>int main(int argc, char *argv[]) {	int i = 0;	printf("%s: ckpt test program (pid = %d)\n",	       argv[0], getpid());	while (1) {		unsigned j;		for (j = 0; j < 100000000; j++)			;		malloc(100000);		fprintf(stderr, "%d\n", ++i);	}	return 0;}

⌨️ 快捷键说明

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