home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / uptime2.zip / readme < prev    next >
Text File  |  1996-06-11  |  1KB  |  35 lines

  1.   Tue Jun 11 11:54:38 GMT 1996
  2.   
  3.   uptime.exe by Cheng-Yang Tan, cytan@tristan.tn.cornell.edu
  4.   
  5.   Description:
  6.       a UNIX like uptime application.
  7.   
  8.   To make:
  9.       gcc -Zomf -o uptime.exe uptime.c uptime.def
  10.       
  11.   dependencies:
  12.       dqps.h    
  13.       
  14.   The source below demonstrates usage of:
  15.       (1) the undocumented API DosQProcStatus    
  16.       (2) the thunking macros of emx-gcc version 2.7.2
  17.       (3) the documented API DosQuerySysInfo
  18.       
  19.   Acknowledgements:
  20.       Tomas Ögren, stric@arbornet.org who wrote cstart from which I copied
  21.                    the code for getting the "uptime".
  22.                    
  23.     Kai Uwe Rommel, for his excellent documentation on DosQProcStatus
  24.         available at ftp.leo.org in directory /pub/comp/os/os2/doc as proc.zip
  25.         
  26.     Eberhard Mattes, for his documentation on the thunking macros of emx-gcc
  27.         available as emxdev.inf in the emx09b distribution.
  28.         
  29.     IBM for making OS/2.        
  30.         
  31.   Copyright:
  32.       I release this code into the public domain *except* where the copyrights
  33.       are held by the individual authors above.  I hold no responsibility for the
  34.       usage of this code.
  35.