blob: c54a50c3221c12cd383b8b4ed58cd1b1dcf597c1 [file] [edit]
#include <stdio.h>
#include <windows.h>
int main(int argc, char **argv) {
if (argc > 1) {
// Create the synchronization token, then wait to be attached.
FILE *f = fopen(argv[1], "w");
if (!f)
return 1;
fputs("\n", f);
fclose(f);
while (1)
Sleep(1000);
}
return 0; // break here
}