Created
June 25, 2023 15:03
-
-
Save iTrooz/b981ac330fd48666b1329eab8cdbd21a to your computer and use it in GitHub Desktop.
Infinite sleep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Like https://gist.github.com/iTrooz/b0e932fc6e0382b1b90751af979d1aa0 but without stdin, and can't really be stopped from waiting | |
// CC0 / Public domain | |
#include<unistd.h> | |
#include<limits.h> | |
int main(){ | |
sleep(UINT_MAX); | |
return 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment