Browse Source

Remove sleep from pipe example

rexim 4 years ago
parent
commit
e54251e116
2 changed files with 2 additions and 7 deletions
  1. 2 1
      .gitignore
  2. 0 6
      examples/pipe.c

+ 2 - 1
.gitignore

@@ -1 +1,2 @@
-nobuild
+nobuild
+output.txt

+ 0 - 6
examples/pipe.c

@@ -11,11 +11,5 @@ int main(void)
     CMD(PATH("tools", "cat"), "output.txt");
     INFO("------------------------------------------------------------");
 
-#ifdef _WIN32
-    Sleep(1000);
-#else
-    sleep(1);
-#endif
-
     return 0;
 }