4.104.114.84.95
Line | |
---|
1 | |
---|
2 | /* |
---|
3 | * This test file is used to verify that the header files associated with |
---|
4 | * the callout are correct. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * All rights assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
11 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
12 | * notice must appear in all copies of this file and its derivatives. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #include <time.h> |
---|
18 | |
---|
19 | #ifndef _POSIX_TIMERS |
---|
20 | #error "rtems is supposed to have clock_getres" |
---|
21 | #endif |
---|
22 | |
---|
23 | void test( void ) |
---|
24 | { |
---|
25 | clockid_t clock_id = 0; |
---|
26 | struct timespec res; |
---|
27 | int result; |
---|
28 | |
---|
29 | result = clock_getres( clock_id, &res ); |
---|
30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.