summaryrefslogtreecommitdiffstats
path: root/src/include/sys/time.h
blob: eb67107dc34efc70c750671e0149227ccbba9eda (plain)
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
#ifndef __SYS_TIME_H
#define __SYS_TIME_H

#include <stdint.h>

#ifdef __cplusplus
extern "C"
{
#endif


/** @fn nanosleep()
 *  @brief Sleep for time duration given: seconds plus nanoseconds.
 *  @param[in] sec  - seconds
 *  @param[in] nsec - nanoseconds (billionths of a second)
 */
void nanosleep(uint64_t sec, uint64_t nsec);



#ifdef __cplusplus
}
#endif

#endif
OpenPOWER on IntegriCloud