home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / pdksh-4.9-src.tgz / tar.out / contrib / pdksh / std / h / sys / times.h < prev    next >
C/C++ Source or Header  |  1996-09-28  |  408b  |  30 lines

  1. /*
  2.  * sys/times.h: POSIX times()
  3.  */
  4. /* $Id: times.h,v 1.3 93/05/05 21:17:53 sjg Exp $ */
  5.  
  6. #if ! _TIMES_H
  7. #define    _TIMES_H 1
  8.  
  9. #include <time.h>        /* defines CLK_TCK */
  10.  
  11. #if __STDC__
  12. #define    ARGS(args)    args
  13. #else
  14. #define    ARGS(args)    ()
  15. #endif
  16.  
  17. struct tms {
  18.     clock_t    tms_utime, tms_stime;
  19.     clock_t    tms_cutime, tms_cstime;
  20. };
  21.  
  22. #if _V7
  23. #define times times_
  24. #endif
  25.  
  26. clock_t    times ARGS((struct tms *tmsp));
  27.  
  28. #endif
  29.  
  30.