File: ec/info.txt
   1 ec
   2 
   3 This app empties the text clipboard.

     File: ec/main.c
   1 #include <stdio.h>
   2 #include <windows.h>
   3 
   4 /*
   5 ec
   6 
   7 This windows-specific app empties the clipboard, hence its 2-letter name.
   8 */
   9 
  10 int main(int argc, char const* argv[]) {
  11     if (!OpenClipboard(NULL)) {
  12         fprintf(stderr, "can't empty the clipboard\n");
  13         fflush(stderr);
  14         return 1;
  15     }
  16     EmptyClipboard();
  17     CloseClipboard();
  18     return 0;
  19 }