Created
November 9, 2011 04:19
-
-
Save ichiban/1350361 to your computer and use it in GitHub Desktop.
これ聴きながら仕事してます
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
$ cat > kiku.c | |
#include <pthread.h> | |
char c;f(){while(1)c=~getchar();}main(t,p){pthread_create(&p,NULL,f,NULL);for(t=0;;t++)putchar(t>>~c|t>>5|t>>1000-c|t>>c);} | |
$ make kiku | |
cc kiku.c -o kiku | |
kiku.c: In function ‘main’: | |
kiku.c:2: warning: passing argument 1 of ‘pthread_create’ from incompatible pointer type | |
kiku.c:2: warning: passing argument 3 of ‘pthread_create’ from incompatible pointer type | |
$ sudo tcpdump | ./kiku | sox -traw -r8k -c1 -eunsigned -b8 - -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment