source: rtems/doc/posix1003.1/ch02.t @ 7331714

4.104.114.84.95
Last change on this file since 7331714 was 7331714, checked in by Joel Sherrill <joel.sherrill@…>, on 03/18/98 at 18:15:01

Added Constants, Feature Flags, and Macros (included in Functions).
No status information was included.

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[2d19ed6c]1@c
2@c  COPYRIGHT (c) 1988-1998.
3@c  On-Line Applications Research Corporation (OAR).
4@c  All rights reserved.
5@c
6@c  $Id$
7@c
8
9@chapter Terminology and General Requirements
[17ab8f5b]10
[2d19ed6c]11@section Conventions
[17ab8f5b]12
[2d19ed6c]13@section Definitions
[17ab8f5b]14
[2d19ed6c]15@section General Concepts
[17ab8f5b]16
[2d19ed6c]17@section Error Numbers
[17ab8f5b]18
[c78be42]19@example
20E2BIG, Constant,
21EACCES, Constant,
22EAGAIN, Constant,
23EBADF, Constant,
24EBADMSG, Constant,
25EBUSY, Constant,
26ECANCELED, Constant,
27ECHILD, Constant,
28EDEADLK, Constant,
29EDOM, Constant,
30EEXIST, Constant,
31EFAULT, Constant,
32EFBIG, Constant,
33EINPROGRESS, Constant,
34EINTR, Constant,
35EINVAL, Constant,
36EIO, Constant,
37EISDIR, Constant,
38EMFILE, Constant,
39EMLINK, Constant,
40EMSGSIZE, Constant,
41ENAMETOOLONG, Constant,
42ENFILE, Constant,
43ENODEV, Constant,
44ENOENT, Constant,
45ENOEXEC, Constant,
46ENOLCK, Constant,
47ENOMEM, Constant,
48ENOSPC, Constant,
49ENOSYS, Constant,
50ENOTDIR, Constant,
51ENOTEMPTY, Constant,
52ENOTSUP, Constant,
53ENOTTY, Constant,
54ENXIO, Constant,
55EPERM, Constant,
56EPIPE, Constant,
57ERANGE, Constant,
58EROFS, Constant,
59ESPIPE, Constant,
60ESRCH, Constant,
61ETIMEDOUT, Constant,
62EXDEV, Constant,
63@end example
64
[2d19ed6c]65@section Primitive System Types
[17ab8f5b]66
[3349409]67@example
[6984a19]68dev_t, Type, Implemented
69gid_t, Type, Implemented
70ino_t, Type, Implemented
71mode_t, Type, Implemented
72nlink_t, Type, Implemented
73off_t, Type, Implemented
74pid_t, Type, Implemented
75pthread_t, Type, Implemented
76pthread_attr_t, Type, Implemented
77pthread_mutex_t, Type, Implemented
78pthread_mutex_attr_t, Type, Implemented
79pthread_cond_t, Type, Implemented
80pthread_cond_attr_t, Type, Implemented
81pthread_key_t, Type, Implemented
82pthread_once_t, Type, Implemented
83size_t, Type, Implemented
84ssize_t, Type, Implemented
85time_t, Type, Implemented
86uid_t, Type, Implemented
[3349409]87@end example
88
[6984a19]89NOTE: time_t is not listed in this section but is used by many functions.
90
[2d19ed6c]91@section Environment Description
[17ab8f5b]92
[2d19ed6c]93@section C Language Definitions
[17ab8f5b]94
[c78be42]95@subsection Symbols From the C Standard
96
[7331714]97@example
98NULL, Constant,
99@end example
100
[c78be42]101@subsection POSIX.1 Symbols
102
103@example
104_POSIX_C_SOURCE, Feature Flag,
105@end example
106
[2d19ed6c]107@section Numerical Limits
[17ab8f5b]108
[c78be42]109@section C Language Limits
110
111@example
[7331714]112CHAR_BIT, Constant,
113CHAR_MAX, Constant,
114CHAR_MIN, Constant,
115INT_MAX, Constant,
116INT_MIN, Constant,
117LONG_MAX, Constant,
118LONG_MIN, Constant,
119MB_LEN_MAX, Constant,
120SCHAR_MAX, Constant,
121SCHAR_MIN, Constant,
122SHRT_MAX, Constant,
123SHRT_MIN, Constant,
124UCHAR_MAX, Constant,
125UINT_MAX, Constant,
126ULONG_MAX, Constant,
127USHRT_MAX, Constant,
[c78be42]128@end example
129
130@subsection Minimum Values
131
132@example
[7331714]133_POSIX_AIO_LISTIO_MAX, Constant,
134_POSIX_AIO_MAX, Constant,
135_POSIX_ARG_MAX, Constant,
136_POSIX_CHILD_MAX, Constant,
137_POSIX_DELAYTIMER_MAX, Constant,
138_POSIX_LINK_MAX, Constant,
139_POSIX_LOGIN_NAME_MAX, Constant,
140_POSIX_MAX_CANON, Constant,
141_POSIX_MAX_INPUT, Constant,
142_POSIX_MQ_OPEN_MAX, Constant,
143_POSIX_MQ_PRIO_MAX, Constant,
144_POSIX_NAME_MAX, Constant,
145_POSIX_NGROUPS_MAX, Constant,
146_POSIX_OPEN_MAX, Constant,
147_POSIX_PATH_MAX, Constant,
148_POSIX_PIPE_BUF, Constant,
149_POSIX_RTSIG_MAX, Constant,
150_POSIX_SEM_NSEMS_MAX, Constant,
151_POSIX_SEM_VALUE_MAX, Constant,
152_POSIX_SIGQUEUE_MAX, Constant,
153_POSIX_SSIZE_MAX, Constant,
154_POSIX_STREAM_MAX, Constant,
155_POSIX_THREAD_DESTRUCTOR_ITERATIONS, Constant,
156_POSIX_THREAD_KEYS_MAX, Constant,
157_POSIX_THREAD_THREADS_MAX, Constant,
158_POSIX_TTY_NAME_MAX, Constant,
159_POSIX_TIME_MAX, Constant,
160_POSIX_TZNAME_MAX, Constant,
[c78be42]161@end example
162
163@subsection Run-Time Increasable Values
164
165@example
[7331714]166_POSIX_NGROUPS_MAX, Constant,
[c78be42]167@end example
168
169@subsection Run-Time Invariant Values (Possible Indeterminate)
170
171@example
[7331714]172AIO_LISTIO_MAX, Constant,
173AIO_MAX, Constant,
174AIO_PRIO_DELTA_MAX, Constant,
175ARG_MAX, Constant,
176CHILD_MAX, Constant,
177DELAYTIMER_MAX, Constant,
178LOGIN_NAME_MAX, Constant,
179MQ_OPEN_MAX, Constant,
180OPEN_MAX, Constant,
181PAGESIZE, Constant,
182PTHREAD_DESTRUCTOR_ITERATIONS, Constant,
183PTHREAD_KEYS_MAX, Constant,
184PTHREAD_STACK_MIN, Constant,
185PTHJREAD_THREADS_MAX, Constant,
186RTSIG_MAX, Constant,
187SEM_NSEMS_MAX, Constant,
188SEM_VALUE_MAX, Constant,
189SIGQUEUE_MAX, Constant,
190STREAM_MAX, Constant,
191TIMER_MAX, Constant,
192TTY_NAME_MAX, Constant,
193TZNAME_MAX, Constant,
[c78be42]194@end example
195
196@subsection Pathname Variable Values
197
198@example
[7331714]199LINK_MAX, Constant,
200MAX_CANON, Constant,
201MAX_INPUT, Constant,
202NAME_MAX, Constant,
203PATH_MAX, Constant,
204PIPE_BUF, Constant,
[c78be42]205@end example
206
207@subsection Invariant Values
208
209@example
[7331714]210SSIZE_MAX, Constant,
[c78be42]211@end example
212
213@subsection Maximum Values
214
215@example
[7331714]216_POSIX_CLOCKRES_MIN, Constant,
[c78be42]217@end example
218
[2d19ed6c]219@section Symbolic Constants
220
[c78be42]221@subsection Symbolic Constants for the @code{access} Function
222
223@example
[7331714]224R_OK, Constant,
225W_OK, Constant,
226X_OK, Constant,
227F_OK, Constant,
[c78be42]228@end example
229
230@subsection Symbolic Constants for the @code{lseek} Function
231
232@example
[7331714]233SEEK_SET, Constant,
234SEEK_CUR, Constant,
235SEEK_END, Constant,
[c78be42]236@end example
237
238@subsection Compile-Time Symbolic Constants for Portability Specifications
239
240@example
[7331714]241_POSIX_ASYNCHRONOUS_IO, Feature Flag,
242_POSIX_FSYNC, Feature Flag,
243_POSIX_JOB_CONTROL, Feature Flag,
244_POSIX_MAPPED_FILES, Feature Flag,
245_POSIX_MEMLOCK, Feature Flag,
246_POSIX_MEMLOCK_RANGE, Feature Flag,
247_POSIX_MEMORY_PROTECTION, Feature Flag,
248_POSIX_MESSAGE_PASSING, Feature Flag,
249_POSIX_PRIORITIZED_IO, Feature Flag,
250_POSIX_PRIORITY_SCHEDULING, Feature Flag,
251_POSIX_REALTIME_SIGNALS, Feature Flag,
252_POSIX_SAVED_IDS, Feature Flag,
253_POSIX_SEMAPHORES, Feature Flag,
254_POSIX_SHARED_MEMORY_OBJECTS, Feature Flag,
255_POSIX_SYNCHRONIZED_IO, Feature Flag,
256_POSIX_THREADS, Feature Flag,
257_POSIX_THREAD_ATTR_STACKADDR, Feature Flag,
258_POSIX_THREAD_ATTR_STACKSIZE, Feature Flag,
259_POSIX_THREAD_PRIORITY_SCHEDULING, Feature Flag,
260_POSIX_THREAD_PRIO_INHERIT, Feature Flag,
261_POSIX_THREAD_PRIO_CEILING, Feature Flag,
262_POSIX_THREAD_PROCESS_SHARED, Feature Flag,
263_POSIX_THREAD_SAFE_FUNCTIONS, Feature Flag,
264_POSIX_TIMERS, Feature Flag,
265_POSIX_VERSION, Feature Flag,
[c78be42]266@end example
267
268@subsection Execution-Time Symbolic Constants for Portability Specifications
269
270@example
[7331714]271_POSIX_ASYNC_IO, Feature Flag,
272_POSIX_CHOWN_RESTRICTED, Feature Flag,
273_POSIX_NO_TRUNC, Feature Flag,
274_POSIX_PRIO_IO, Feature Flag,
275_POSIX_SYNC_IO, Feature Flag,
276_POSIX_VDISABLE, Feature Flag,
[c78be42]277@end example
Note: See TracBrowser for help on using the repository browser.