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

4.104.114.84.95
Last change on this file since c78be42 was c78be42, checked in by Joel Sherrill <joel.sherrill@…>, on 03/17/98 at 23:10:33

First attempt at adding constants and feature flags

  • Property mode set to 100644
File size: 4.4 KB
Line 
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
10
11@section Conventions
12
13@section Definitions
14
15@section General Concepts
16
17@section Error Numbers
18
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
65@section Primitive System Types
66
67@example
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
87@end example
88
89NOTE: time_t is not listed in this section but is used by many functions.
90
91@section Environment Description
92
93@section C Language Definitions
94
95@subsection Symbols From the C Standard
96
97@subsection POSIX.1 Symbols
98
99@example
100_POSIX_C_SOURCE, Feature Flag,
101@end example
102
103@section Numerical Limits
104
105@section C Language Limits
106
107@example
108CHAR_BIT
109CHAR_MAX
110CHAR_MIN
111INT_MAX
112INT_MIN
113LONG_MAX
114LONG_MIN
115MB_LEN_MAX
116SCHAR_MAX
117SCHAR_MIN
118SHRT_MAX
119SHRT_MIN
120UCHAR_MAX
121UINT_MAX
122ULONG_MAX
123USHRT_MAX
124@end example
125
126@subsection Minimum Values
127
128@example
129_POSIX_AIO_LISTIO_MAX
130_POSIX_AIO_MAX
131_POSIX_ARG_MAX
132_POSIX_CHILD_MAX
133_POSIX_DELAYTIMER_MAX
134_POSIX_LINK_MAX
135_POSIX_LOGIN_NAME_MAX
136_POSIX_MAX_CANON
137_POSIX_MAX_INPUT
138_POSIX_MQ_OPEN_MAX
139_POSIX_MQ_PRIO_MAX
140_POSIX_NAME_MAX
141_POSIX_NGROUPS_MAX
142_POSIX_OPEN_MAX
143_POSIX_PATH_MAX
144_POSIX_PIPE_BUF
145_POSIX_RTSIG_MAX
146_POSIX_SEM_NSEMS_MAX
147_POSIX_SEM_VALUE_MAX
148_POSIX_SIGQUEUE_MAX
149_POSIX_SSIZE_MAX
150_POSIX_STREAM_MAX
151_POSIX_THREAD_DESTRUCTOR_ITERATIONS
152_POSIX_THREAD_KEYS_MAX
153_POSIX_THREAD_THREADS_MAX
154_POSIX_TTY_NAME_MAX
155_POSIX_TIME_MAX
156_POSIX_TZNAME_MAX
157@end example
158
159@subsection Run-Time Increasable Values
160
161@example
162_POSIX_NGROUPS_MAX
163@end example
164
165@subsection Run-Time Invariant Values (Possible Indeterminate)
166
167@example
168AIO_LISTIO_MAX
169AIO_MAX
170AIO_PRIO_DELTA_MAX
171ARG_MAX
172CHILD_MAX
173DELAYTIMER_MAX
174LOGIN_NAME_MAX
175MQ_OPEN_MAX
176OPEN_MAX
177PAGESIZE
178PTHREAD_DESTRUCTOR_ITERATIONS
179PTHREAD_KEYS_MAX
180PTHREAD_STACK_MIN
181PTHJREAD_THREADS_MAX
182RTSIG_MAX
183SEM_NSEMS_MAX
184SEM_VALUE_MAX
185SIGQUEUE_MAX
186STREAM_MAX
187TIMER_MAX
188TTY_NAME_MAX
189TZNAME_MAX
190@end example
191
192@subsection Pathname Variable Values
193
194@example
195LINK_MAX
196MAX_CANON
197MAX_INPUT
198NAME_MAX
199PATH_MAX
200PIPE_BUF
201@end example
202
203@subsection Invariant Values
204
205@example
206SSIZE_MAX
207@end example
208
209@subsection Maximum Values
210
211@example
212_POSIX_CLOCKRES_MIN
213@end example
214
215@section Symbolic Constants
216
217@subsection Symbolic Constants for the @code{access} Function
218
219@example
220R_OK
221W_OK
222X_OK
223F_OK
224@end example
225
226@subsection Symbolic Constants for the @code{lseek} Function
227
228@example
229SEEK_SET
230SEEK_CUR
231SEEK_END
232@end example
233
234@subsection Compile-Time Symbolic Constants for Portability Specifications
235
236@example
237_POSIX_ASYNCHRONOUS_IO
238_POSIX_FSYNC
239_POSIX_JOB_CONTROL
240_POSIX_MAPPED_FILES
241_POSIX_MEMLOCK
242_POSIX_MEMLOCK_RANGE
243_POSIX_MEMORY_PROTECTION
244_POSIX_MESSAGE_PASSING
245_POSIX_PRIORITIZED_IO
246_POSIX_PRIORITY_SCHEDULING
247_POSIX_REALTIME_SIGNALS
248_POSIX_SAVED_IDS
249_POSIX_SEMAPHORES
250_POSIX_SHARED_MEMORY_OBJECTS
251_POSIX_SYNCHRONIZED_IO
252_POSIX_THREADS
253_POSIX_THREAD_ATTR_STACKADDR
254_POSIX_THREAD_ATTR_STACKSIZE
255_POSIX_THREAD_PRIORITY_SCHEDULING
256_POSIX_THREAD_PRIO_INHERIT
257_POSIX_THREAD_PRIO_CEILING
258_POSIX_THREAD_PROCESS_SHARED
259_POSIX_THREAD_SAFE_FUNCTIONS
260_POSIX_TIMERS
261_POSIX_VERSION
262@end example
263
264@subsection Execution-Time Symbolic Constants for Portability Specifications
265
266@example
267@end example
Note: See TracBrowser for help on using the repository browser.