home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / pOSxA.lzx / pOSxA / clib / timer_protos.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-12  |  1.1 KB  |  62 lines

  1. #ifndef __INC_POSA_CLIB_TIMER_PROTOS_C
  2. #define __INC_POSA_CLIB_TIMER_PROTOS_C
  3. /*******************************************************************
  4.  $CRT 09 Jul 1996 : hb
  5.  
  6.  $AUT Holger Burkarth
  7.  $DAT >>timer_protos.c<<   09 Nov 1996    18:54:42 - (C) ProDAD
  8. *******************************************************************/
  9. #define NOMYDEBUG
  10. #pragma -
  11.  
  12. #include <Exec/Types.h>
  13. #include "p:proto/pTimer2.h"
  14.  
  15.  
  16. // mcpp:cppc -c ci:_Projekte/pOSxA/clib/timer_protos.c -pc
  17.  
  18.  
  19.  
  20. #pragma -
  21.  
  22. void AddTime( struct timeval *dest,struct timeval *src)
  23. {
  24.   pOS_AddTime((struct pOS_TimeVal*)dest,(struct pOS_TimeVal*)src);
  25. }
  26.  
  27. void SubTime( struct timeval *dest,struct timeval *src)
  28. {
  29.   pOS_SubTime((struct pOS_TimeVal*)dest,(struct pOS_TimeVal*)src);
  30. }
  31.  
  32. LONG CmpTime( struct timeval *dest,struct timeval *src)
  33. {
  34.   return( pOS_CmpTime((struct pOS_TimeVal*)dest,(struct pOS_TimeVal*)src) );
  35. }
  36.  
  37. void GetSysTime( struct timeval *dest)
  38. {
  39.   pOS_GetSysTime((struct pOS_TimeVal*)dest);
  40. }
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. #ifdef __IGNORE_NOT_SUPPORTED__
  53.  
  54. ULONG ReadEClock( struct EClockVal *dest )
  55. {return(0);}
  56.  
  57. #endif  /** __IGNORE_NOT_SUPPORTED__ **/
  58.  
  59.  
  60.  
  61. #endif
  62.