diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-02-19 23:17:53 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2012-02-19 23:17:53 +0000 |
commit | 33f058f0e67357543c0b1619f4f45779d054a6bf (patch) | |
tree | eebb2cf2edeeb1ed314967c923021804c7f4d3b0 /select.c | |
parent | 61f929e6b38829afcdc8577be74594ca73a91bde (diff) | |
download | verteco-33f058f0e67357543c0b1619f4f45779d054a6bf.tar.gz |
Remove debug/testing files.
Diffstat (limited to '')
-rw-r--r-- | select.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/select.c b/select.c deleted file mode 100644 index 47351f9..0000000 --- a/select.c +++ /dev/null @@ -1,25 +0,0 @@ -#include <errno.h> -#include <stdio.h> -#include <sys/select.h> - -volatile unsigned int variable = 0; - -int main() -{ - struct timeval tv; - int val; - - for (;;) - { - tv.tv_sec = 1; - tv.tv_usec = 0; - - do - { - val = select(0, NULL, NULL, NULL, &tv); - } while (val != 0 && errno == EINTR); - - printf("Variable = %u\n", ++variable); - } -} - |