home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / sherlock.zip / CATCH / CATCH.C next >
C/C++ Source or Header  |  1994-11-22  |  655b  |  30 lines

  1. /*
  2. **  Sherlock - Copyright 1992, 1993, 1994
  3. **    Harfmann Software
  4. **    Compuserve: 73147,213
  5. **    All rights reserved
  6. */
  7.  
  8. /*
  9. ** Main entrance routine.
  10. */
  11. #define INCL_DOSDATETIME
  12. #include <os2.h>
  13.  
  14. APIRET _System DosSleep(ULONG time);
  15.  
  16. int main(int argc, char **argv);
  17. int main(int argc, char **argv)
  18. {
  19.     DosSleep(10000);
  20.     DosOpen((PSZ)    0,     /* pszFileName */
  21.         (PHFILE) 0,     /* pHf       */
  22.         (PULONG) 0,     /* pulAction   */
  23.              0,     /* cbFile       */
  24.              0,     /* ulAttribute */
  25.              0,     /* fsOpenFlags */
  26.              0,     /* fsOpenMode  */
  27.         (PEAOP2) 0);    /* peaop2       */
  28.     return 0;
  29. }
  30.