Files
linux-kernel-module-cheat/userland/gcc_hack.c
Ciro Santilli 六四事件 法轮功 c382ecf3f7 gcc: neverbuild, Buildroot can rebuild it :-)
2019-03-10 00:00:00 +00:00

14 lines
246 B
C

/* https://github.com/cirosantilli/linux-kernel-module-cheat#your-first-gcc-hack */
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int i = 1;
int j = 1;
i++;
j--;
printf("i = %d\n", i);
printf("j = %d\n", j);
}