Files
linux-kernel-module-cheat/userland/posix/sleep_forever.c
Ciro Santilli 六四事件 法轮功 2b0a5724a7 readme: convert underscores to hyphens on all header IDs
GitHub converts differently than asciidoctor... the only way to keep
them consistent is to explicitly set IDs.
2019-11-14 00:00:00 +00:00

12 lines
222 B
C

/* https://cirosantilli.com/linux-kernel-module-cheat#sleep-forever-out */
#define _XOPEN_SOURCE 700
#include <stdio.h>
#include <unistd.h>
int main(void) {
puts(__FILE__);
while (1)
sleep(0xFFFFFFFF);
}