source: rtems/cpukit/posix/include/rtems/posix/ptimer.h @ 5ec2f12d

4.104.114.84.95
Last change on this file since 5ec2f12d was 5ec2f12d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/21/05 at 07:20:13

New header guards.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/**
2 * @file rtems/posix/ptimer.h
3 */
4
5/*  rtems/posix/ptimer.h
6 *
7 *  This include file contains all the private support information for
8 *  POSIX timers.
9 *
10 *  COPYRIGHT (c) 1998.
11 *  Alfonso Escalera Piña
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.com/license/LICENSE.
16 *
17 *  ptimer.h,v 1.0 1998/03/31 16:21:16
18 */
19
20#ifndef _RTEMS_POSIX_PTIMER_H
21#define _RTEMS_POSIX_PTIMER_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27#include <rtems/posix/config.h>
28
29/*
30 *  _POSIX_Timers_Manager_initialization
31 *
32 *  DESCRIPTION:
33 *
34 *  This routine performs the initialization necessary for this manager.
35 */
36
37void _POSIX_Timer_Manager_initialization ( int max_timers );
38
39/*
40 *  14.2.2 Create a Per-Process Timer, P1003.1b-1993, p. 264
41 *
42 *  timer_create
43 */
44
45int timer_create(
46  clockid_t        clock_id,
47  struct sigevent *evp,
48  timer_t         *timerid
49);
50
51/*
52 *  14.2.3 Delete a Per_process Timer, P1003.1b-1993, p. 266
53 */
54
55int timer_delete(
56  timer_t timerid
57);
58
59/*
60 *  14.2.4 Per-Process Timers, P1003.1b-1993, p. 267
61 *
62 *  timer_settime
63 */
64
65int timer_settime(
66  timer_t                  timerid,
67  int                      flags,
68  const struct itimerspec *value,
69  struct itimerspec       *ovalue
70);
71
72/*
73 *  14.2.4 Per-Process Timers, P1003.1b-1993, p. 267
74 *
75 *  timer_gettime
76 */
77
78int timer_gettime(
79  timer_t            timerid,
80  struct itimerspec *value
81);
82
83/*
84 *  14.2.4 Per-Process Timers, P1003.1b-1993, p. 267
85 *
86 *  timer_getoverrun
87 *
88 */
89
90int timer_getoverrun(
91  timer_t   timerid
92);
93
94#endif
Note: See TracBrowser for help on using the repository browser.