From a6eaa5489c8da1e38300722715326cbf3ab1b65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Mi=C4=99sowicz?= Date: Wed, 29 Aug 2012 07:38:54 -0500 Subject: timespec helpers: Add wrappers with new test --- cpukit/sapi/include/rtems/timespec.h | 53 ++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 cpukit/sapi/include/rtems/timespec.h (limited to 'cpukit/sapi/include/rtems/timespec.h') diff --git a/cpukit/sapi/include/rtems/timespec.h b/cpukit/sapi/include/rtems/timespec.h new file mode 100644 index 0000000000..b661d43fc0 --- /dev/null +++ b/cpukit/sapi/include/rtems/timespec.h @@ -0,0 +1,53 @@ +/** + * @file rtems/sapi/timespec.h + * + * @ingroup + * + * @brief Timespec API + * + * This include file contains API for manipulating timespecs. + */ + +/* + * Copyright (c) 2012-. + * Krzysztof Miesowicz krzysztof.miesowicz@gmail.com + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifndef _RTEMS_TIMESPEC_H +#define _RTEMS_TIMESPEC_H + +#include + +/** + * @defgroup TimespecAPI Timespec + * + * @ingroup ClassicRTEMS + * + * @brief Timespec API + * + */ +/**@{*/ + +#include /* bool */ +#include /* uint32_t */ +#include /* struct timespec */ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#ifdef __cplusplus +} +#endif + +/**@}*/ + +#endif +/* end of include file */ + -- cgit v1.2.3