os_posix_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_POSIX_TIME_H_INCLUDED
00026 #define ICL_CORE_OS_POSIX_TIME_H_INCLUDED
00027 
00028 #include "icl_core/ImportExport.h"
00029 
00030 #ifdef _IC_BUILDER_HAS_TIME_H_
00031 # include <time.h>
00032 #endif
00033 #ifdef _IC_BUILDER_HAS_SYS_TIME_H_
00034 # include <sys/time.h>
00035 #endif
00036 
00037 namespace icl_core {
00038 namespace os {
00039 namespace hidden_posix {
00040 
00041 void gettimeofday(struct timespec *time);
00042 ICL_CORE_IMPORT_EXPORT int nanosleep(const struct timespec *rqtp, struct timespec *rmtp = 0);
00043 ICL_CORE_IMPORT_EXPORT unsigned int sleep(unsigned int seconds);
00044 ICL_CORE_IMPORT_EXPORT int usleep(unsigned long useconds);
00045 
00046 }
00047 }
00048 }
00049 
00050 #endif


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