os_win32_time.h
Go to the documentation of this file.
1 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
2 
3 // -- BEGIN LICENSE BLOCK ----------------------------------------------
4 // This file is part of FZIs ic_workspace.
5 //
6 // This program is free software licensed under the LGPL
7 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
8 // You can find a copy of this license in LICENSE folder in the top
9 // directory of the source code.
10 //
11 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
12 //
13 // -- END LICENSE BLOCK ------------------------------------------------
14 
15 //----------------------------------------------------------------------
24 //----------------------------------------------------------------------
25 #ifndef ICL_CORE_OS_WIN32_TIME_H_INCLUDED
26 #define ICL_CORE_OS_WIN32_TIME_H_INCLUDED
27 
28 #include <time.h>
29 #include <Windows.h>
30 
31 #include "icl_core/ImportExport.h"
32 
34 {
36  time_t tv_sec;
38  long tv_nsec;
39 };
40 
41 namespace icl_core {
42 namespace os {
43 namespace hidden_win32 {
44 
46 ICL_CORE_IMPORT_EXPORT int nanosleep(const struct timespec *rqtp, struct timespec *rmtp = 0);
47 ICL_CORE_IMPORT_EXPORT unsigned int sleep(unsigned int seconds);
48 ICL_CORE_IMPORT_EXPORT int usleep(unsigned long useconds);
49 
50 }
51 }
52 }
53 
54 #endif
#define ICL_CORE_IMPORT_EXPORT
Definition: ImportExport.h:42
time_t tv_sec
Seconds.
Definition: os_win32_time.h:36
unsigned int sleep(unsigned int seconds)
int nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
long tv_nsec
Nanoseconds.
Definition: os_win32_time.h:38
Contains import/export definitions for the Win32 plattform.
void gettimeofday(struct timespec *time)
int usleep(unsigned long useconds)


fzi_icl_core
Author(s):
autogenerated on Mon Jun 10 2019 13:17:58