File: rtl_v1.3

package info (click to toggle)
rtlinux 3.1pre3-2
  • links: PTS
  • area: non-free
  • in suites: sarge, woody
  • size: 4,892 kB
  • ctags: 4,228
  • sloc: ansic: 26,204; sh: 2,069; makefile: 1,414; perl: 855; tcl: 489; asm: 380; cpp: 42
file content (130 lines) | stat: -rw-r--r-- 4,258 bytes parent folder | download | duplicates (2)
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
.\" This -*- nroff -*- file has been generated from
.\" DocBook SGML with docbook-to-man on Debian GNU/Linux.
...\"
...\"	transcript compatibility for postscript use.
...\"
...\"	synopsis:  .P! <file.ps>
...\"
.de P!
\\&.
.fl			\" force out current output buffer
\\!%PB
\\!/showpage{}def
...\" the following is from Ken Flowers -- it prevents dictionary overflows
\\!/tempdict 200 dict def tempdict begin
.fl			\" prolog
.sy cat \\$1\" bring in postscript file
...\" the following line matches the tempdict above
\\!end % tempdict %
\\!PE
\\!.
.sp \\$2u	\" move below the image
..
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
'\" t 
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n  
.TH "RTLinux(Version1.x)" "2" 
.SH "NAME" 
RTLinux \(em Realtime Facilities for Linux 
.SH "SYNOPSIS" 
.PP 
.nf 
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
WARNING:  \fIThis API is for compatibility of old applications. 
You are encouraged to migrate your programs to the new 
POSIX-based API, available in RTLinux v2.0 and above.\fP  
#define MODULE 
#include <linux/module.h> 
#include <linux/kernel.h> 
#include <linux/version.h> 
#include <linux/errno.h> 
#include <linux/rtf.h> 
 
int \fBfree_RTirq\fP(unsigned int \fBirq\fR); 
 
int \fBrequest_RTirq\fP(unsigned int \fBirq\fR, void (*\fBhandler\fR)(void)); 
 
int \fBrt_get_time\fP(void); 
 
int \fBrt_task_delete\fP(RT_TASK *\fBtask\fR); 
 
int \fBrt_task_init\fP(RT_TASK *\fBtask\fR, void (*fn)(int \fBdata\fR), int \fBdata\fR, int \fBstack_size\fR, int \fBpriority\fR); 
 
int \fBrt_task_make_periodic\fP(RT_TASK *\fBtask\fR, RTIME \fBstart_time\fR, RTIME \fBperiod\fR); 
 
int \fBrt_task_suspend\fP(RT_TASK *\fBtask\fR); 
 
int \fBrt_task_wait\fP(void);  
 
int \fBrt_task_wakeup\fP(RT_TASK *\fBtask\fR); 
 
int \fBrt_use_fp\fP(int \fBallow\fR); 
 
int \fBrtf_create\fP(unsigned int \fBfifo\fR, int \fBsize\fR); 
 
int \fBrtf_create_handler\fP(unsigned int \fBfifo\fR, int (* \fBhandler\fR)(unsigned int fifo)); 
 
int \fBrtf_destroy\fP(unsigned int \fBfifo\fR); 
 
int \fBrtf_get\fP(unsigned int \fBfifo\fR, char *\fBbuf\fR, int \fBcount\fR); 
 
int \fBrtf_put\fP(unsigned int \fBfifo\fR, char *\fBbuf\fR, int \fBcount\fR); 
 
int \fBrtf_resize\fP(unsigned int \fBfifo\fR, int \fBsize\fR); 
.fi 
.SH "DESCRIPTION" 
.PP 
\fBRealtime Linux\fP adds real-time capabilities to the Linux operating system.  See \fIwww.rtlinux.org (link to URL http://www.rtlinux.org) \fR for details of its design and use. 
.SH "SEE ALSO" 
.IP "\fIfree_RTirq(2) (link to URL ../rtl_v1.x/free_RTirq.2.html) \fR" 10 
.IP "\fIrequest_RTirq(2) (link to URL ../rtl_v1.x/request_RTirq.2.html) \fR" 10 
.IP "\fIrt_get_time(2) (link to URL ../rtl_v1.x/rt_get_time.2.html) \fR" 10 
.IP "\fIrt_task_delete(2) (link to URL ../rtl_v1.x/rt_task_delete.2.html) \fR" 10 
.IP "\fIrt_task_make_periodic(2) (link to URL ../rtl_v1.x/rt_task_make_periodic.2.html) \fR" 10 
.IP "\fIrt_task_suspend(2) (link to URL ../rtl_v1.x/rt_task_suspend.2.html) \fR" 10 
.IP "\fIrt_task_wait(2) (link to URL ../rtl_v1.x/rt_task_wait.2.html) \fR" 10 
.IP "\fIrt_task_wakeup(2) (link to URL ../rtl_v1.x/rt_task_wakeup.2.html) \fR" 10 
.IP "\fIrt_use_fp(2) (link to URL ../rtl_v1.x/rt_use_fp.2.html) \fR" 10 
.IP "\fIrtf_create(2) (link to URL ../rtl_v1.x/rtf_create.2.html) \fR" 10 
.IP "\fIrtf_create_handler(2) (link to URL ../rtl_v1.x/rtf_create_handler.2.html) \fR" 10 
.IP "\fIrtf_destroy(2) (link to URL ../rtl_v1.x/rtf_destroy.2.html) \fR" 10 
.IP "\fIrtf_get(2) (link to URL ../rtl_v1.x/rtf_get.2.html) \fR" 10 
.IP "\fIrtf_put(2) (link to URL ../rtl_v1.x/rtf_put.2.html) \fR" 10 
.IP "\fIrtf_resize(2) (link to URL ../rtl_v1.x/rtf_resize.2.html) \fR" 10 
.PP 
\(co1997 Jerry Epplin. 
.PP 
Modifications for RTLinux 2.x and 3.x by Michael Barabanov. \(co2001 FSMLabs Inc. 
.PP 
All rights reserved. 
...\" created by instant / docbook-to-man, Wed 13 Jun 2001, 17:58