Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

41 rinda
800B

  1. /* timeb.h -- An implementation of the standard Unix <sys/timeb.h> file.
  2. Written by Ian Lance Taylor <ian@cygnus.com>
  3. Public domain; no rights reserved.
  4. <sys/timeb.h> declares the structure used by the ftime function, as
  5. well as the ftime function itself. Newlib does not provide an
  6. implementation of ftime. */
  7. #ifndef _SYS_TIMEB_H
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #define _SYS_TIMEB_H
  12. #include <_ansi.h>
  13. #include <sys/_types.h>
  14. #if !defined(__time_t_defined) && !defined(_TIME_T_DECLARED)
  15. typedef _TIME_T_ time_t;
  16. #define __time_t_defined
  17. #define _TIME_T_DECLARED
  18. #endif
  19. struct timeb
  20. {
  21. time_t time;
  22. unsigned short millitm;
  23. short timezone;
  24. short dstflag;
  25. };
  26. extern int ftime (struct timeb *);
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30. #endif /* ! defined (_SYS_TIMEB_H) */