source: rtems-docs/posix1003_1/language_specific_services.rst @ ef0a063

4.115
Last change on this file since ef0a063 was ef0a063, checked in by Amar Takhar <amar@…>, on 01/17/16 at 00:14:55

Split document into seperate files by section.

  • Property mode set to 100644
File size: 7.3 KB
Line 
1Language-Specific Services for the C Programming Language
2#########################################################
3
4Referenced C Language Routines
5==============================
6
7ANSI C Section 4.2 — Diagnostics
8.. code:: c
9
10    assert(), Function, Implemented
11
12ANSI C Section 4.3 — Character Handling
13.. code:: c
14
15    isalnum(), Function, Implemented
16    isalpha(), Function, Implemented
17    iscntrl(), Function, Implemented
18    isdigit(), Function, Implemented
19    isgraph(), Function, Implemented
20    islower(), Function, Implemented
21    isprint(), Function, Implemented
22    ispunct(), Function, Implemented
23    isspace(), Function, Implemented
24    isupper(), Function, Implemented
25    isxdigit(), Function, Implemented
26    tolower(), Function, Implemented
27    toupper(), Function, Implemented
28
29ANSI C Section 4.4 — Localization
30.. code:: c
31
32    setlocale(), Function, Implemented
33
34ANSI C Section 4.5 — Mathematics
35.. code:: c
36
37    acos(), Function, Implemented
38    asin(), Function, Implemented
39    atan(), Function, Implemented
40    atan2(), Function, Implemented
41    cos(), Function, Implemented
42    sin(), Function, Implemented
43    tan(), Function, Implemented
44    cosh(), Function, Implemented
45    sinh(), Function, Implemented
46    tanh(), Function, Implemented
47    exp(), Function, Implemented
48    frexp(), Function, Implemented
49    ldexp(), Function, Implemented
50    log(), Function, Implemented
51    log10(), Function, Implemented
52    modf(), Function, Implemented
53    pow(), Function, Implemented
54    sqrt(), Function, Implemented
55    ceil(), Function, Implemented
56    fabs(), Function, Implemented
57    floor(), Function, Implemented
58    fmod(), Function, Implemented
59
60ANSI C Section 4.6 — Non-Local Jumps
61.. code:: c
62
63    setjmp(), Function, Implemented
64    longjmp(), Function, Implemented
65
66ANSI C Section 4.9 — Input/Output
67.. code:: c
68
69    FILE, Type, Implemented
70    clearerr(), Function, Implemented
71    fclose(), Function, Implemented
72    feof(), Function, Implemented
73    ferror(), Function, Implemented
74    fflush(), Function, Implemented
75    fgetc(), Function, Implemented
76    fgets(), Function, Implemented
77    fopen(), Function, Implemented
78    fputc(), Function, Implemented
79    fputs(), Function, Implemented
80    fread(), Function, Implemented
81    freopen(), Function, Implemented
82    fseek(), Function, Implemented
83    ftell(), Function, Implemented
84    fwrite(), Function, Implemented
85    getc(), Function, Implemented
86    getchar(), Function, Implemented
87    gets(), Function, Implemented
88    perror(), Function, Implemented
89    printf(), Function, Implemented
90    fprintf(), Function, Implemented
91    sprintf(), Function, Implemented
92    putc(), Function, Implemented
93    putchar(), Function, Implemented
94    puts(), Function, Implemented
95    remove(), Function, Implemented
96    rename(), Function, Partial Implementation
97    rewind(), Function, Implemented
98    scanf(), Function, Implemented
99    fscanf(), Function, Implemented
100    sscanf(), Function, Implemented
101    setbuf(), Function, Implemented
102    tmpfile(), Function, Implemented
103    tmpnam(), Function, Implemented
104    ungetc(), Function, Implemented
105
106NOTE: ``rename`` is also included in another section.  `Rename a File`_.
107
108ANSI C Section 4.10 — General Utilities
109.. code:: c
110
111    abs(), Function, Implemented
112    atof(), Function, Implemented
113    atoi(), Function, Implemented
114    atol(), Function, Implemented
115    rand(), Function, Implemented
116    srand(), Function, Implemented
117    calloc(), Function, Implemented
118    free(), Function, Implemented
119    malloc(), Function, Implemented
120    realloc(), Function, Implemented
121    abort(), Function, Implemented
122    exit(), Function, Implemented
123    bsearch(), Function, Implemented
124    qsort(), Function, Implemented
125
126NOTE: ``getenv`` is also included in another section. `Environment Access`_.
127
128ANSI C Section 4.11 — String Handling
129.. code:: c
130
131    strcpy(), Function, Implemented
132    strncpy(), Function, Implemented
133    strcat(), Function, Implemented
134    strncat(), Function, Implemented
135    strcmp(), Function, Implemented
136    strncmp(), Function, Implemented
137    strchr(), Function, Implemented
138    strcspn(), Function, Implemented
139    strpbrk(), Function, Implemented
140    strrchr(), Function, Implemented
141    strspn(), Function, Implemented
142    strstr(), Function, Implemented
143    strtok(), Function, Implemented
144    strlen(), Function, Implemented
145
146ANSI C Section 4.12 — Date and Time Handling
147.. code:: c
148
149    asctime(), Function, Implemented
150    ctime(), Function, Implemented
151    gmtime(), Function, Implemented
152    localtime(), Function, Implemented
153    mktime(), Function, Implemented
154    strftime(), Function, Implemented
155
156NOTE: RTEMS has no notion of time zones.
157
158NOTE: ``time`` is also included in another section. `Get System Time`_.
159
160From Surrounding Text
161.. code:: c
162
163    EXIT_SUCCESS, Constant, Implemented
164    EXIT_FAILURE, Constant, Implemented
165
166Extensions to Time Functions
167----------------------------
168
169Extensions to setlocale Function
170--------------------------------
171
172.. code:: c
173
174    LC_CTYPE, Constant, Implemented
175    LC_COLLATE, Constant, Implemented
176    LC_TIME, Constant, Implemented
177    LC_NUMERIC, Constant, Implemented
178    LC_MONETARY, Constant, Implemented
179    LC_ALL, Constant, Implemented
180
181C Language Input/Output Functions
182=================================
183
184Map a Stream Pointer to a File Descriptor
185-----------------------------------------
186
187.. code:: c
188
189    fileno(), Function, Implemented
190    STDIN_FILENO, Constant, Implemented
191    STDOUT_FILENO, Constant, Implemented
192    STDERR_FILENO, Constant, Implemented
193
194Open a Stream on a File Descriptor
195----------------------------------
196
197.. code:: c
198
199    fdopen(), Function, Implemented
200
201Interactions of Other FILE-Type C Functions
202-------------------------------------------
203
204Operations on Files - the remove Function
205-----------------------------------------
206
207Temporary File Name - the tmpnam Function
208-----------------------------------------
209
210Stdio Locking Functions
211-----------------------
212
213.. code:: c
214
215    flockfile(), Function, Unimplemented
216    ftrylockfile(), Function, Unimplemented
217    funlockfile(), Function, Unimplemented
218
219Stdio With Explicit Client Locking
220----------------------------------
221
222.. code:: c
223
224    getc_unlocked(), Function, Unimplemented
225    getchar_unlocked(), Function, Unimplemented
226    putc_unlocked(), Function, Unimplemented
227    putchar_unlocked(), Function, Unimplemented
228
229Other C Language Functions
230==========================
231
232Nonlocal Jumps
233--------------
234
235.. code:: c
236
237    sigjmp_buf, Type, Implemented
238    sigsetjmp(), Function, Implemented
239    siglongjmp(), Function, Implemented
240
241Set Time Zone
242-------------
243
244.. code:: c
245
246    tzset(), Function, Unimplemented
247
248Find String Token
249-----------------
250
251.. code:: c
252
253    strtok_r(), Function, Implemented
254
255ASCII Time Representation
256-------------------------
257
258.. code:: c
259
260    asctime_r(), Function, Implemented
261
262Current Time Representation
263---------------------------
264
265.. code:: c
266
267    ctime_r(), Function, Implemented
268
269Coordinated Universal Time
270--------------------------
271
272.. code:: c
273
274    gmtime_r(), Function, Implemented
275
276Local Time
277----------
278
279.. code:: c
280
281    localtime_r(), Function, Implemented
282
283Pseudo-Random Sequence Generation Functions
284-------------------------------------------
285
286.. code:: c
287
288    rand_r(), Function, Implemented
289
290.. COMMENT: COPYRIGHT (c) 1988-2002.
291
292.. COMMENT: On-Line Applications Research Corporation (OAR).
293
294.. COMMENT: All rights reserved.
295
Note: See TracBrowser for help on using the repository browser.