4.104.114.84.95
Last change
on this file since 5ff991e8 was
5ff991e8,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/03/96 at 16:29:59
|
created ptimer.c and moved the timer_* routines out of time.c into ptimer.c
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id$ |
---|
3 | */ |
---|
4 | |
---|
5 | #include <assert.h> |
---|
6 | #include <time.h> |
---|
7 | #include <errno.h> |
---|
8 | |
---|
9 | #include <rtems/system.h> |
---|
10 | #include <rtems/score/isr.h> |
---|
11 | #include <rtems/score/thread.h> |
---|
12 | #include <rtems/score/tod.h> |
---|
13 | |
---|
14 | #include <rtems/posix/time.h> |
---|
15 | |
---|
16 | /* |
---|
17 | * 14.2.2 Create a Per-Process Timer, P1003.1b-1993, p. 264 |
---|
18 | */ |
---|
19 | |
---|
20 | int timer_create( |
---|
21 | clockid_t clock_id, |
---|
22 | struct sigevent *evp, |
---|
23 | timer_t *timerid |
---|
24 | ) |
---|
25 | { |
---|
26 | return POSIX_NOT_IMPLEMENTED(); |
---|
27 | } |
---|
28 | |
---|
29 | /* |
---|
30 | * 14.2.3 Delete a Per_process Timer, P1003.1b-1993, p. 266 |
---|
31 | */ |
---|
32 | |
---|
33 | int timer_delete( |
---|
34 | timer_t timerid |
---|
35 | ) |
---|
36 | { |
---|
37 | return POSIX_NOT_IMPLEMENTED(); |
---|
38 | } |
---|
39 | |
---|
40 | /* |
---|
41 | * 14.2.4 Per-Process Timers, P1003.1b-1993, p. 267 |
---|
42 | */ |
---|
43 | |
---|
44 | int timer_settime( |
---|
45 | timer_t timerid, |
---|
46 | int flags, |
---|
47 | const struct itimerspec *value, |
---|
48 | struct itimerspec *ovalue |
---|
49 | ) |
---|
50 | { |
---|
51 | return POSIX_NOT_IMPLEMENTED(); |
---|
52 | } |
---|
53 | |
---|
54 | /* |
---|
55 | * 14.2.4 Per-Process Timers, P1003.1b-1993, p. 267 |
---|
56 | */ |
---|
57 | |
---|
58 | int timer_gettime( |
---|
59 | timer_t timerid, |
---|
60 | struct itimerspec *value |
---|
61 | ) |
---|
62 | { |
---|
63 | return POSIX_NOT_IMPLEMENTED(); |
---|
64 | } |
---|
65 | |
---|
66 | /* |
---|
67 | * 14.2.4 Per-Process Timers, P1003.1b-1993, p. 267 |
---|
68 | */ |
---|
69 | |
---|
70 | int timer_getoverrun( |
---|
71 | timer_t timerid |
---|
72 | ) |
---|
73 | { |
---|
74 | return POSIX_NOT_IMPLEMENTED(); |
---|
75 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.