summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/rtems/timespec.h
blob: b661d43fc09d7da0adc5cf9af0410c877948ec80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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 <rtems/score/timespec.h>

/**
 *  @defgroup TimespecAPI Timespec
 *
 *  @ingroup ClassicRTEMS
 *
 *  @brief Timespec API
 *
 */
/**@{*/

#include <stdbool.h> /* bool */
#include <stdint.h> /* uint32_t */
#include <time.h> /* struct timespec */

#ifdef __cplusplus
extern "C" {
#endif

#include <rtems/timespec.inl>

#ifdef __cplusplus
}
#endif

/**@}*/

#endif
/* end of include file */