os_win32_time.h
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 // This file is part of FZIs ic_workspace.
00005 //
00006 // This program is free software licensed under the LGPL
00007 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
00008 // You can find a copy of this license in LICENSE folder in the top
00009 // directory of the source code.
00010 //
00011 // © Copyright 2016 FZI Forschungszentrum Informatik, Karlsruhe, Germany
00012 //
00013 // -- END LICENSE BLOCK ------------------------------------------------
00014 
00015 //----------------------------------------------------------------------
00024 //----------------------------------------------------------------------
00025 #ifndef ICL_CORE_OS_WIN32_TIME_H_INCLUDED
00026 #define ICL_CORE_OS_WIN32_TIME_H_INCLUDED
00027 
00028 #include <time.h>
00029 #include <Windows.h>
00030 
00031 #include "icl_core/ImportExport.h"
00032 
00033 struct ICL_CORE_IMPORT_EXPORT timespec
00034 {
00036   time_t tv_sec;
00038   long tv_nsec;
00039 };
00040 
00041 namespace icl_core {
00042 namespace os {
00043 namespace hidden_win32 {
00044 
00045 ICL_CORE_IMPORT_EXPORT void gettimeofday(struct timespec *time);
00046 ICL_CORE_IMPORT_EXPORT int nanosleep(const struct timespec *rqtp, struct timespec *rmtp = 0);
00047 ICL_CORE_IMPORT_EXPORT unsigned int sleep(unsigned int seconds);
00048 ICL_CORE_IMPORT_EXPORT int usleep(unsigned long useconds);
00049 
00050 }
00051 }
00052 }
00053 
00054 #endif


fzi_icl_core
Author(s):
autogenerated on Tue Aug 8 2017 02:28:03