1 |
27 |
unneback |
2003-01-13 Jonathan Larmour
|
2 |
|
|
|
3 |
|
|
* include/mqueue.h: Define POSIX 1003.1d draft mq_timedsend() and
|
4 |
|
|
mq_timedreceive() functions.
|
5 |
|
|
|
6 |
|
|
2002-12-12 Bart Veer
|
7 |
|
|
|
8 |
|
|
* include/stdlib.h: #include cyg_type.h, now that this header
|
9 |
|
|
uses NORET attributes
|
10 |
|
|
|
11 |
|
|
2002-11-10 Nick Garnett
|
12 |
|
|
|
13 |
|
|
* include/sys/types.h: Add define/undefine for __NEED_FD_SETS_ONLY
|
14 |
|
|
around include of sys/select.h to avoid circular dependencies in
|
15 |
|
|
headers.
|
16 |
|
|
|
17 |
|
|
* include/sys/select.h: Reorganized definitions so that the
|
18 |
|
|
include from sys/types.h only defines the fd_set type and macros
|
19 |
|
|
and not the select() and pselect() functions. The latter needs
|
20 |
|
|
sigset_t from signal.h, which can result in circularity.
|
21 |
|
|
|
22 |
|
|
2002-04-09 Jonathan Larmour
|
23 |
|
|
|
24 |
|
|
* include/stdlib.h: use NORET attributes from cyg_type.h.
|
25 |
|
|
|
26 |
|
|
2002-03-20 Jonathan Larmour
|
27 |
|
|
|
28 |
|
|
* include/float.h: Don't have multiple inclusion protection. It is
|
29 |
|
|
unnecessary and can confuse things if the headers are subject to two
|
30 |
|
|
-I paths.
|
31 |
|
|
* include/stdarg.h: Ditto.
|
32 |
|
|
* include/float.h: Don't cover include_next with inclusion protection
|
33 |
|
|
for a similar reason.
|
34 |
|
|
* include/stddef.h: Use C comment.
|
35 |
|
|
|
36 |
|
|
2002-01-17 Jonathan Larmour
|
37 |
|
|
|
38 |
|
|
* include/unistd.h: ftruncate() should use an off_t argument.
|
39 |
|
|
|
40 |
|
|
2002-01-15 Jonathan Larmour
|
41 |
|
|
|
42 |
|
|
* include/sys/types.h: off_t should be signed.
|
43 |
|
|
|
44 |
|
|
2001-12-05 Jonathan Larmour
|
45 |
|
|
|
46 |
|
|
* include/netdb.h (gethostbyname): anonymous arguments aren't allowed
|
47 |
|
|
in C (I thought they were a GNU C extension, sigh).
|
48 |
|
|
|
49 |
|
|
2001-11-30 Jonathan Larmour
|
50 |
|
|
2001-11-30 Andrew Lunn
|
51 |
|
|
|
52 |
|
|
* include/netdb.h: Provide a default NULL implementation of
|
53 |
|
|
struct hostent, gethostbyname and gethostbyaddr if a real implementation
|
54 |
|
|
doesn't exist. This makes life easier for legacy code.
|
55 |
|
|
|
56 |
|
|
2001-10-17 Jesper Skov
|
57 |
|
|
|
58 |
|
|
* cdl/isoinfra.cdl: Changed string interfaces to flavor booldata.
|
59 |
|
|
|
60 |
|
|
* include/string.h: Changed feature checks to ifdef.
|
61 |
|
|
|
62 |
|
|
2001-10-09 Jonathan Larmour
|
63 |
|
|
|
64 |
|
|
* cdl/isoinfra.cdl: Make all CYGPKG_ISO_TIME interfaces be booldata.
|
65 |
|
|
Add config for POSIX clock types and implementations.
|
66 |
|
|
Make all CYGPKG_ISO_PTHREAD interfaces be booldata.
|
67 |
|
|
Add POSIX sleep() config.
|
68 |
|
|
|
69 |
|
|
* include/pthread.h: Reflect booldata interfaces.
|
70 |
|
|
* include/time.h: Ditto.
|
71 |
|
|
Also add default struct itimerspec and POSIX clock includes.
|
72 |
|
|
* include/unistd.h: Add sleep includes, with default proto.
|
73 |
|
|
|
74 |
|
|
2001-09-28 Jonathan Larmour
|
75 |
|
|
|
76 |
|
|
* cdl/isoinfra.cdl: Add netdb services and proto function support.
|
77 |
|
|
* include/netdb.h: New file.
|
78 |
|
|
|
79 |
|
|
2001-09-24 Jesper Skov
|
80 |
|
|
|
81 |
|
|
* cdl/isoinfra.cdl: Added CYGINT_ISO_DNS and
|
82 |
|
|
CYGBLD_ISO_DNS_HEADER.
|
83 |
|
|
|
84 |
|
|
2001-09-12 Jesper Skov
|
85 |
|
|
|
86 |
|
|
* include/limits.h: Work around glibc header problem.
|
87 |
|
|
|
88 |
|
|
2001-09-10 Jonathan Larmour
|
89 |
|
|
|
90 |
|
|
* cdl/isoinfra.cdl: Add CYGINT_ISO_PTHREAD_MUTEX and
|
91 |
|
|
CYGBLD_ISO_PTHREAD_MUTEX_HEADER.
|
92 |
|
|
* include/pthread.h: Include above header if set.
|
93 |
|
|
|
94 |
|
|
2001-08-06 Jonathan Larmour
|
95 |
|
|
|
96 |
|
|
* cdl/isoinfra.cdl: Add a separate POSIX mutex types header option.
|
97 |
|
|
* include/sys/types.h: Include it.
|
98 |
|
|
* include/time.h: Provide a default struct timespec even if the
|
99 |
|
|
implementation doesn't provide something better.
|
100 |
|
|
|
101 |
|
|
2001-07-26 Jonathan Larmour
|
102 |
|
|
|
103 |
|
|
* include/sys/types.h: Move select() related stuff into separate
|
104 |
|
|
sys/select header. Include it still for now.
|
105 |
|
|
* include/sys/select.h: New header, as per upcoming POSIX 200x standard.
|
106 |
|
|
|
107 |
|
|
* cdl/isoinfra.cdl: Add configury for select() and poll().
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
2001-07-20 Jonathan Larmour
|
111 |
|
|
|
112 |
|
|
* include/stdlib.h: Use correct macro names for abs and div.
|
113 |
|
|
|
114 |
|
|
2001-06-08 Jonathan Larmour
|
115 |
|
|
|
116 |
|
|
* include/stdlib.h: Actually set MB_CUR_MAX in i18n package via header.
|
117 |
|
|
* cdl/isoinfra.cdl: Define multibyte char headers/interfaces
|
118 |
|
|
|
119 |
|
|
2000-06-08 Jeff Johnston
|
120 |
|
|
|
121 |
|
|
* include/stdlib.h: Add code to set MB_CUR_MAX to __mb_cur_max
|
122 |
|
|
if CYGFUN_LIBC_I18N_MB is defined, otherwise set it to 1.
|
123 |
|
|
|
124 |
|
|
2001-02-11 Jonathan Larmour
|
125 |
|
|
|
126 |
|
|
* cdl/isoinfra.cdl: Add CYGPKG_ISO_UNISTD to deal with unistd.h
|
127 |
|
|
Include POSIX timer operations underneath it.
|
128 |
|
|
|
129 |
|
|
* include/unistd.h: Add support for conditional inclusion of
|
130 |
|
|
POSIX timer operations.
|
131 |
|
|
|
132 |
|
|
2001-02-01 Jonathan Larmour
|
133 |
|
|
|
134 |
|
|
* cdl/isoinfra.cdl: Add CYGINT_ISO_STDIO_POSIX_FDFUNCS and
|
135 |
|
|
CYGBLD_ISO_STDIO_POSIX_FDFUNCS_HEADER primarily for fileno()
|
136 |
|
|
and fdopen()
|
137 |
|
|
* include/stdio.h: Use above to provide default protos for fileno
|
138 |
|
|
and fdopen.
|
139 |
|
|
|
140 |
|
|
2000-12-15 Nick Garnett
|
141 |
|
|
|
142 |
|
|
* include/dlfcn.h:
|
143 |
|
|
* cdl/isoinfra.cdl:
|
144 |
|
|
Added support for dlfcn.h header that defines dynamic load API.
|
145 |
|
|
|
146 |
|
|
2000-11-01 Jonathan Larmour
|
147 |
|
|
|
148 |
|
|
* cdl/isoinfra.cdl: Add CYGINT_ISO_STDIO_STREAMS and
|
149 |
|
|
CYGBLD_ISO_STDIO_STREAMS_HEADER.
|
150 |
|
|
Change flavor of other stdio interfaces to booldata
|
151 |
|
|
* include/stdio.h: Use #ifdefs not #ifs on interfaces to reflect above
|
152 |
|
|
Add CYGINT_ISO_STDIO_STREAMS and CYGBLD_ISO_STDIO_STREAMS_HEADER.
|
153 |
|
|
|
154 |
|
|
2000-10-05 Nick Garnett
|
155 |
|
|
|
156 |
|
|
* include/sys/types.h: Changed type of pid_t to plain int. It
|
157 |
|
|
needs to be signed.
|
158 |
|
|
|
159 |
|
|
* include/unistd.h: Fixed prototypes of several functions to match
|
160 |
|
|
POSIX standard.
|
161 |
|
|
|
162 |
|
|
2000-09-11 Jonathan Larmour
|
163 |
|
|
|
164 |
|
|
* cdl/isoinfra.cdl: Add CYGBLD_ISO_{OPEN,LINK,NAME,PATH}_MAX_HEADER
|
165 |
|
|
* include/limits.h: Support definition of OPEN_MAX, LINK_MAX,
|
166 |
|
|
NAME_MAX, PATH_MAX
|
167 |
|
|
|
168 |
|
|
2000-08-30 Jonathan Larmour
|
169 |
|
|
|
170 |
|
|
* include/assert.h (assert): Fix logic
|
171 |
|
|
|
172 |
|
|
2000-08-29 Jonathan Larmour
|
173 |
|
|
|
174 |
|
|
* include/stddef.h: Don't use CYGONCE_ multiple header inclusion
|
175 |
|
|
protection for this file - this is special.
|
176 |
|
|
|
177 |
|
|
2000-08-08 Jonathan Larmour
|
178 |
|
|
|
179 |
|
|
* include/limits.h: Add SSIZE_MAX
|
180 |
|
|
|
181 |
|
|
2000-08-03 Jonathan Larmour
|
182 |
|
|
|
183 |
|
|
* include/sys/types.h: Make fd_mask unsigned int, not cyg_uint32 so
|
184 |
|
|
as to avoid including cyg_type.h
|
185 |
|
|
|
186 |
|
|
2000-08-01 Jonathan Larmour
|
187 |
|
|
|
188 |
|
|
* cdl/isoinfra.cdl: Support termios
|
189 |
|
|
* include/termios.h: Added
|
190 |
|
|
|
191 |
|
|
2000-07-21 Jonathan Larmour
|
192 |
|
|
|
193 |
|
|
* cdl/isoinfra.cdl: CYGNUM_ISO_MQUEUE_OPEN_MAX and
|
194 |
|
|
CYGNUM_ISO_MQUEUE_PRIO_MAX should only be active if CYGINT_ISO_MQUEUE
|
195 |
|
|
rather than them requiring it
|
196 |
|
|
|
197 |
|
|
2000-07-20 Nick Garnett
|
198 |
|
|
|
199 |
|
|
* cdl/isoinfra.cdl: Added configury for sys/utsname.h.
|
200 |
|
|
|
201 |
|
|
* include/unistd.h: Added _POSIX_VERSION constant.
|
202 |
|
|
Changed return type of sysconf() to long.
|
203 |
|
|
|
204 |
|
|
* include/sys/utsname.h: Added this file.
|
205 |
|
|
|
206 |
|
|
2000-07-13 Nick Garnett
|
207 |
|
|
|
208 |
|
|
* include/unistd.h: Added fsync() prototype.
|
209 |
|
|
|
210 |
|
|
2000-07-13 Jonathan Larmour
|
211 |
|
|
|
212 |
|
|
* cdl/isoinfra.cdl: Add CYGINT_ISO_MALLINFO and
|
213 |
|
|
CYGBLD_ISO_MALLINFO_HEADER to support mallinfo()
|
214 |
|
|
|
215 |
|
|
* include/stdlib.h: Support mallinfo()
|
216 |
|
|
|
217 |
|
|
2000-06-28 Nick Garnett
|
218 |
|
|
|
219 |
|
|
* include/sys/stat.h: Added prototypes for stat(), fstat() and
|
220 |
|
|
mkdir().
|
221 |
|
|
|
222 |
|
|
* include/dirent.h: Added this file to provide directory reading
|
223 |
|
|
support.
|
224 |
|
|
|
225 |
|
|
* cdl/isoinfra.cdl: Added dirent support.
|
226 |
|
|
|
227 |
|
|
2000-06-21 Jonathan Larmour
|
228 |
|
|
|
229 |
|
|
* cdl/isoinfra.cdl: Put in below requires line, but change to allow
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
2000-06-19 Nick Garnett
|
233 |
|
|
|
234 |
|
|
* cdl/isoinfra.cdl: Commented out requires line in
|
235 |
|
|
CYGINT_POSIX_REALTIME_SIGNALS interface. This causes configuration
|
236 |
|
|
errors when the POSIX package is absent.
|
237 |
|
|
|
238 |
|
|
* include/sys/types.h: Reimplemented FD_COPY() and FD_ZERO() as
|
239 |
|
|
inline copy loops rather than calls to memcpy() and memset().
|
240 |
|
|
|
241 |
|
|
2000-06-09 Jonathan Larmour
|
242 |
|
|
|
243 |
|
|
* include/time.h: Following the below change, simply define struct
|
244 |
|
|
timeval, while allowing it to be overridden if necessary
|
245 |
|
|
* cdl/isoinfra.cdl (CYGBLD_ISO_STRUCTTIMEVAL_HEADER): define for this
|
246 |
|
|
purpose
|
247 |
|
|
|
248 |
|
|
2000-06-09 Nick Garnett
|
249 |
|
|
|
250 |
|
|
* include/time.h: Added definition of struct timeval. This is a
|
251 |
|
|
temporary home for this while we work out where definitions like
|
252 |
|
|
this should really live. Like the fd_set stuff in sys/types.h,
|
253 |
|
|
this is needed by two packages, both of which can operate
|
254 |
|
|
independently but which also need to co-operate when they are both
|
255 |
|
|
present.
|
256 |
|
|
|
257 |
|
|
2000-06-07 Nick Garnett
|
258 |
|
|
|
259 |
|
|
* include/sys/types.h: Added definitions for file descriptor sets
|
260 |
|
|
and inclusion of BSD specific types.
|
261 |
|
|
|
262 |
|
|
* include/stdlib.h: Added extern for environ variable in non-POSIX
|
263 |
|
|
builds.
|
264 |
|
|
|
265 |
|
|
* include/fcntl.h (O_WRONLY): Moved this to bit 1, leaving bit 2
|
266 |
|
|
for future expansion.
|
267 |
|
|
|
268 |
|
|
* cdl/isoinfra.cdl: Added CYGPKG_ISO_EXTRA_TYPES to control
|
269 |
|
|
inclusion of types into that are not specified by
|
270 |
|
|
POSIX. Mostly needed by the socket and BSD code.
|
271 |
|
|
|
272 |
|
|
2000-06-02 Nick Garnett
|
273 |
|
|
|
274 |
|
|
* include/unistd.h: Added this initial version of this file. Jifl
|
275 |
|
|
will probably want to rewrite it at some point.
|
276 |
|
|
|
277 |
|
|
* include/fcntl.h: Changed O_RDWR to (O_RDONLY|O_WRONLY).
|
278 |
|
|
|
279 |
|
|
2000-05-31 Nick Garnett
|
280 |
|
|
|
281 |
|
|
* include/fcntl.h: Fixed ifdefs around extern declaration of
|
282 |
|
|
fcntl().
|
283 |
|
|
|
284 |
|
|
2000-05-20 Jonathan Larmour
|
285 |
|
|
|
286 |
|
|
* include/fcntl.h: new file
|
287 |
|
|
* include/mqueue.h: new file
|
288 |
|
|
* include/sys/stat.h: new file
|
289 |
|
|
|
290 |
|
|
* cdl/isoinfra.cdl: No need for memcpy and memset interfaces - they're
|
291 |
|
|
always present
|
292 |
|
|
(CYGINT_ISO_POSIX_TIMERS): define _POSIX_TIMERS if enabled
|
293 |
|
|
(CYGINT_POSIX_REALTIME_SIGNALS): add
|
294 |
|
|
(CYGPKG_ISO_POSIX_FCNTL): Add a number of hooks for things that need
|
295 |
|
|
to control fcntl.h
|
296 |
|
|
(CYGPKG_ISO_MQUEUE): Add a number of hooks for things that need
|
297 |
|
|
to control mqueue.h
|
298 |
|
|
(CYGBLD_ISO_STAT_DEFS_HEADER): Add to override default sys/stat.h
|
299 |
|
|
contents
|
300 |
|
|
|
301 |
|
|
Fix some typos throughout, and a few other minor tidies
|
302 |
|
|
|
303 |
|
|
* include/limits.h: Move _POSIX_* macros here from POSIX package since
|
304 |
|
|
they are implementation independent
|
305 |
|
|
|
306 |
|
|
* include/time.h: Keep CLOCKS_PER_SEC at 1000000
|
307 |
|
|
|
308 |
|
|
* include/sys/types.h: Bring some of the types more in line with Linux
|
309 |
|
|
|
310 |
|
|
* include/ctype.h, include/errno.h, include/limits.h, include/locale.h,
|
311 |
|
|
include/pthread.h, include/sched.h, include/semaphore.h,
|
312 |
|
|
include/setjmp.h, include/signal.h, include/stdio.h, include/stdlib.h,
|
313 |
|
|
include/string.h, include/time.h, include/sys/types.h:
|
314 |
|
|
Don't need to explicitly check interface values > 0
|
315 |
|
|
|
316 |
|
|
2000-05-02 Jonathan Larmour
|
317 |
|
|
|
318 |
|
|
* include/time.h: Provide default definitions of time_t, clock_t and
|
319 |
|
|
CLOCKS_PER_SEC
|
320 |
|
|
|
321 |
|
|
* cdl/isoinfra.cdl: Remove CYGINT_ISO_TIME_T and CYGINT_ISO_CLOCK_T -
|
322 |
|
|
not really needed with a default definition
|
323 |
|
|
|
324 |
|
|
* New package isoinfra with the following files:
|
325 |
|
|
include/errno.h
|
326 |
|
|
include/sys/types.h
|
327 |
|
|
include/assert.h
|
328 |
|
|
include/stddef.h
|
329 |
|
|
include/string.h
|
330 |
|
|
include/setjmp.h
|
331 |
|
|
include/ctype.h
|
332 |
|
|
include/float.h
|
333 |
|
|
include/sched.h
|
334 |
|
|
include/stdarg.h
|
335 |
|
|
include/semaphore.h
|
336 |
|
|
include/time.h
|
337 |
|
|
include/signal.h
|
338 |
|
|
include/locale.h
|
339 |
|
|
include/pthread.h
|
340 |
|
|
include/stdio.h
|
341 |
|
|
include/stdlib.h
|
342 |
|
|
include/limits.h
|
343 |
|
|
cdl/isoinfra.cdl
|
344 |
|
|
|
345 |
|
|
This package manages the ISO standard (C and POSIX) top-level header
|
346 |
|
|
files
|
347 |
|
|
|
348 |
|
|
//===========================================================================
|
349 |
|
|
//####ECOSGPLCOPYRIGHTBEGIN####
|
350 |
|
|
// -------------------------------------------
|
351 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
352 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
|
353 |
|
|
//
|
354 |
|
|
// eCos is free software; you can redistribute it and/or modify it under
|
355 |
|
|
// the terms of the GNU General Public License as published by the Free
|
356 |
|
|
// Software Foundation; either version 2 or (at your option) any later version.
|
357 |
|
|
//
|
358 |
|
|
// eCos is distributed in the hope that it will be useful, but WITHOUT ANY
|
359 |
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
360 |
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
361 |
|
|
// for more details.
|
362 |
|
|
//
|
363 |
|
|
// You should have received a copy of the GNU General Public License along
|
364 |
|
|
// with eCos; if not, write to the Free Software Foundation, Inc.,
|
365 |
|
|
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
|
366 |
|
|
//
|
367 |
|
|
// As a special exception, if other files instantiate templates or use macros
|
368 |
|
|
// or inline functions from this file, or you compile this file and link it
|
369 |
|
|
// with other works to produce a work based on this file, this file does not
|
370 |
|
|
// by itself cause the resulting work to be covered by the GNU General Public
|
371 |
|
|
// License. However the source code for this file must still be made available
|
372 |
|
|
// in accordance with section (3) of the GNU General Public License.
|
373 |
|
|
//
|
374 |
|
|
// This exception does not invalidate any other reasons why a work based on
|
375 |
|
|
// this file might be covered by the GNU General Public License.
|
376 |
|
|
//
|
377 |
|
|
// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
|
378 |
|
|
// at http://sources.redhat.com/ecos/ecos-license/
|
379 |
|
|
// -------------------------------------------
|
380 |
|
|
//####ECOSGPLCOPYRIGHTEND####
|
381 |
|
|
//===========================================================================
|