OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [posix-non-posix-functions.html] - Blame information for rev 341

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
2
<!-- This material may be distributed only subject to the terms      -->
3
<!-- and conditions set forth in the Open Publication License, v1.0  -->
4
<!-- or later (the latest version is presently available at          -->
5
<!-- http://www.opencontent.org/openpub/).                           -->
6
<!-- Distribution of the work or derivative of the work in any       -->
7
<!-- standard (paper) book form is prohibited unless prior           -->
8
<!-- permission is obtained from the copyright holder.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>Non-POSIX Functions</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos Reference Manual"
20
HREF="ecos-ref.html"><LINK
21
REL="UP"
22
TITLE="POSIX Standard Support"
23
HREF="posix-standard-support.html"><LINK
24
REL="PREVIOUS"
25
TITLE="Thread Cancellation [POSIX Section 18]"
26
HREF="posix-thread-cancellation.html"><LINK
27
REL="NEXT"
28
TITLE="µITRON"
29
HREF="compat-uitron.html"></HEAD
30
><BODY
31
CLASS="SECT1"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos Reference Manual</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="posix-thread-cancellation.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
>Chapter 31. POSIX Standard Support</TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="compat-uitron.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><DIV
81
CLASS="SECT1"
82
><H1
83
CLASS="SECT1"
84
><A
85
NAME="POSIX-NON-POSIX-FUNCTIONS">Non-POSIX Functions</H1
86
><P
87
>In addition to the standard POSIX functions defined above, the
88
following non-POSIX functions are defined in the FILEIO package.</P
89
><DIV
90
CLASS="SECT2"
91
><H2
92
CLASS="SECT2"
93
><A
94
NAME="AEN13314">General I&#0047;O Functions</H2
95
><TABLE
96
BORDER="5"
97
BGCOLOR="#E0E0F0"
98
WIDTH="70%"
99
><TR
100
><TD
101
><PRE
102
CLASS="SCREEN"
103
>int ioctl( int fd, CYG&#0095;ADDRWORD com, CYG&#0095;ADDRWORD data );
104
int select( int nfd, fd&#0095;set &#0042;in, fd&#0095;set &#0042;out, fd&#0095;set &#0042;ex, struct timeval &#0042;tv);</PRE
105
></TD
106
></TR
107
></TABLE
108
></DIV
109
><DIV
110
CLASS="SECT2"
111
><H2
112
CLASS="SECT2"
113
><A
114
NAME="AEN13317">Socket Functions</H2
115
><TABLE
116
BORDER="5"
117
BGCOLOR="#E0E0F0"
118
WIDTH="70%"
119
><TR
120
><TD
121
><PRE
122
CLASS="SCREEN"
123
>int socket( int domain, int type, int protocol);
124
int bind( int s, const struct sockaddr &#0042;sa, unsigned int len);
125
int listen( int s, int len);
126
int accept( int s, struct sockaddr &#0042;sa, socklen&#0095;t &#0042;addrlen);
127
int connect( int s, const struct sockaddr &#0042;sa, socklen&#0095;t len);
128
int getpeername( int s, struct sockaddr &#0042;sa, socklen&#0095;t &#0042;len);
129
int getsockname( int s, struct sockaddr &#0042;sa, socklen&#0095;t &#0042;len);
130
int setsockopt( int s, int level, int optname, const void &#0042;optval,
131
                socklen&#0095;t optlen);
132
int getsockopt( int s, int level, int optname, void &#0042;optval,
133
                socklen&#0095;t &#0042;optlen);
134
ssize&#0095;t recvmsg( int s, struct msghdr &#0042;msg, int flags);
135
ssize&#0095;t recvfrom( int s, void &#0042;buf, size&#0095;t len, int flags,
136
                  struct sockaddr &#0042;from, socklen&#0095;t &#0042;fromlen);
137
ssize&#0095;t recv( int s, void &#0042;buf, size&#0095;t len, int flags);
138
ssize&#0095;t sendmsg( int s, const struct msghdr &#0042;msg, int flags);
139
ssize&#0095;t sendto( int s, const void &#0042;buf, size&#0095;t len, int flags,
140
                const struct sockaddr &#0042;to, socklen&#0095;t tolen);
141
ssize&#0095;t send( int s, const void &#0042;buf, size&#0095;t len, int flags);
142
int shutdown( int s, int how);</PRE
143
></TD
144
></TR
145
></TABLE
146
></DIV
147
><DIV
148
CLASS="SECT2"
149
><H2
150
CLASS="SECT2"
151
><A
152
NAME="AEN13320">Notes</H2
153
><P
154
></P
155
><UL
156
><LI
157
><P
158
>   The precise behaviour of these functions depends mainly on the
159
   functionality of the underlying filesystem or network stack to
160
   which they are applied.
161
   </P
162
></LI
163
></UL
164
></DIV
165
></DIV
166
><DIV
167
CLASS="NAVFOOTER"
168
><HR
169
ALIGN="LEFT"
170
WIDTH="100%"><TABLE
171
SUMMARY="Footer navigation table"
172
WIDTH="100%"
173
BORDER="0"
174
CELLPADDING="0"
175
CELLSPACING="0"
176
><TR
177
><TD
178
WIDTH="33%"
179
ALIGN="left"
180
VALIGN="top"
181
><A
182
HREF="posix-thread-cancellation.html"
183
ACCESSKEY="P"
184
>Prev</A
185
></TD
186
><TD
187
WIDTH="34%"
188
ALIGN="center"
189
VALIGN="top"
190
><A
191
HREF="ecos-ref.html"
192
ACCESSKEY="H"
193
>Home</A
194
></TD
195
><TD
196
WIDTH="33%"
197
ALIGN="right"
198
VALIGN="top"
199
><A
200
HREF="compat-uitron.html"
201
ACCESSKEY="N"
202
>Next</A
203
></TD
204
></TR
205
><TR
206
><TD
207
WIDTH="33%"
208
ALIGN="left"
209
VALIGN="top"
210
>Thread Cancellation &#0091;POSIX Section 18&#0093;</TD
211
><TD
212
WIDTH="34%"
213
ALIGN="center"
214
VALIGN="top"
215
><A
216
HREF="posix-standard-support.html"
217
ACCESSKEY="U"
218
>Up</A
219
></TD
220
><TD
221
WIDTH="33%"
222
ALIGN="right"
223
VALIGN="top"
224
>&micro;ITRON</TD
225
></TR
226
></TABLE
227
></DIV
228
></BODY
229
></HTML
230
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.