os_posix_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_POSIX_TIME_H_INCLUDED
26 #define ICL_CORE_OS_POSIX_TIME_H_INCLUDED
27 
28 #include "icl_core/ImportExport.h"
29 
30 #ifdef _IC_BUILDER_HAS_TIME_H_
31 # include <time.h>
32 #endif
33 #ifdef _IC_BUILDER_HAS_SYS_TIME_H_
34 # include <sys/time.h>
35 #endif
36 
37 namespace icl_core {
38 namespace os {
39 namespace hidden_posix {
40 
41 void gettimeofday(struct timespec *time);
42 ICL_CORE_IMPORT_EXPORT int nanosleep(const struct timespec *rqtp, struct timespec *rmtp = 0);
43 ICL_CORE_IMPORT_EXPORT unsigned int sleep(unsigned int seconds);
44 ICL_CORE_IMPORT_EXPORT int usleep(unsigned long useconds);
45 
46 }
47 }
48 }
49 
50 #endif
#define ICL_CORE_IMPORT_EXPORT
Definition: ImportExport.h:42
unsigned int sleep(unsigned int seconds)
int nanosleep(const struct timespec *rqtp, struct timespec *rmtp)
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