home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / utils / source / sh / std / posix / times.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-19  |  355 b   |  29 lines

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