1 2007-01-24 Peter Korsgaard <peter.korsgaard@barco.com>
4 * include/fnmatch.h: fnmatch() support.
6 2006-03-17 Sergei Organov <osv@javad.com>
8 * include/assert.h: Replace #if defined(CYGINT_ISO_EXIT) with #if
9 CYGINT_ISO_EXIT. CYGINT_ISO_EXIT configuration variable is always
10 defined to either 0 or 1, so check of the former form is always
13 2005-10-20 Alexander Neundorf <neundorf@kde.org>
14 Andrew Lunn <andrew.lunn@ascom.ch>
16 * include/sys/time.h (new): Basic implementation.
17 * include/time.h: Removed timeval which is now in sys/time.h
19 2005-07-22 Andrew Lunn <andrew.lunn@ascom.ch>
21 * include/unistd.h: Const correctness to keep the compiler happy.
23 2004-03-30 Alex Paulis and Cameron Taylor <ctaylor@waverider.com>
25 * include/sys/select.h: set FD_SETSIZE to CYGNUM_FILEIO_NFD
28 2004-03-12 Jonathan Larmour <jifl@eCosCentric.com>
30 * cdl/isoinfra.cdl: Typo: CYGBLD_ISO_STDIO_FILEPOS ->
31 CYGBLD_ISO_STDIO_FILEPOS_HEADER.
33 * include/limits.h: Avoid potential illegal recursion if
34 already been included by GCC's limits.h.
36 * include/stdio.h: Include stdarg.h to save duplication.
37 Give fileno(),fdopen() throw specifiers.
39 * include/unistd.h: Prototype for rename() lives in stdio.h.
41 2004-01-07 Jonathan Larmour <jifl@eCosCentric.com>
43 * include/sys/select.h: Only declare pselect() when posix signals are
46 2003-07-15 Andrew Lunn <andrew.lunn@ascom.ch>
48 * include/sys/stat.h (S_ISGID): Please, somebody teach me to count!
50 2003-07-10 Andrew Lunn <andrew.lunn@ascom.ch>
52 * include/sys/stat.h :S_I[RWX]{USR|GRP|OTH} etc changed so they
53 don't overlap with S_ISLINK and S_ISSOCK. Reported by Scott
56 2003-06-10 Andrew Lunn <andrew.lunn@ascom.ch>
58 * include/sys/stat.h: S_IFFIFO defies logic and should be called
61 2003-05-26 Andrew Lunn <andrew.lunn@ascom.ch>
63 * include/sys/stat.h (S_IF*): Added macros to test the type of a
66 2003-05-23 Andrew Lunn <andrew.lunn@ascom.ch>
68 * include/sys/stat.h: Added various S_IF macros for the st_mode
71 2003-01-13 Jonathan Larmour <jifl@eCosCentric.com>
73 * include/mqueue.h: Define POSIX 1003.1d draft mq_timedsend() and
74 mq_timedreceive() functions.
76 2002-12-12 Bart Veer <bartv@ecoscentric.com>
78 * include/stdlib.h: #include cyg_type.h, now that this header
81 2002-11-10 Nick Garnett <nickg@ecoscentric.com>
83 * include/sys/types.h: Add define/undefine for __NEED_FD_SETS_ONLY
84 around include of sys/select.h to avoid circular dependencies in
87 * include/sys/select.h: Reorganized definitions so that the
88 include from sys/types.h only defines the fd_set type and macros
89 and not the select() and pselect() functions. The latter needs
90 sigset_t from signal.h, which can result in circularity.
92 2002-04-09 Jonathan Larmour <jlarmour@redhat.com>
94 * include/stdlib.h: use NORET attributes from cyg_type.h.
96 2002-03-20 Jonathan Larmour <jlarmour@redhat.com>
98 * include/float.h: Don't have multiple inclusion protection. It is
99 unnecessary and can confuse things if the headers are subject to two
101 * include/stdarg.h: Ditto.
102 * include/float.h: Don't cover include_next with inclusion protection
103 for a similar reason.
104 * include/stddef.h: Use C comment.
106 2002-01-17 Jonathan Larmour <jlarmour@redhat.com>
108 * include/unistd.h: ftruncate() should use an off_t argument.
110 2002-01-15 Jonathan Larmour <jlarmour@redhat.com>
112 * include/sys/types.h: off_t should be signed.
114 2001-12-05 Jonathan Larmour <jlarmour@redhat.com>
116 * include/netdb.h (gethostbyname): anonymous arguments aren't allowed
117 in C (I thought they were a GNU C extension, sigh).
119 2001-11-30 Jonathan Larmour <jlarmour@redhat.com>
120 2001-11-30 Andrew Lunn <andrew.lunn@ascom.ch>
122 * include/netdb.h: Provide a default NULL implementation of
123 struct hostent, gethostbyname and gethostbyaddr if a real implementation
124 doesn't exist. This makes life easier for legacy code.
126 2001-10-17 Jesper Skov <jskov@redhat.com>
128 * cdl/isoinfra.cdl: Changed string interfaces to flavor booldata.
130 * include/string.h: Changed feature checks to ifdef.
132 2001-10-09 Jonathan Larmour <jlarmour@redhat.com>
134 * cdl/isoinfra.cdl: Make all CYGPKG_ISO_TIME interfaces be booldata.
135 Add config for POSIX clock types and implementations.
136 Make all CYGPKG_ISO_PTHREAD interfaces be booldata.
137 Add POSIX sleep() config.
139 * include/pthread.h: Reflect booldata interfaces.
140 * include/time.h: Ditto.
141 Also add default struct itimerspec and POSIX clock includes.
142 * include/unistd.h: Add sleep includes, with default proto.
144 2001-09-28 Jonathan Larmour <jlarmour@redhat.com>
146 * cdl/isoinfra.cdl: Add netdb services and proto function support.
147 * include/netdb.h: New file.
149 2001-09-24 Jesper Skov <jskov@redhat.com>
151 * cdl/isoinfra.cdl: Added CYGINT_ISO_DNS and
152 CYGBLD_ISO_DNS_HEADER.
154 2001-09-12 Jesper Skov <jskov@redhat.com>
156 * include/limits.h: Work around glibc header problem.
158 2001-09-10 Jonathan Larmour <jlarmour@redhat.com>
160 * cdl/isoinfra.cdl: Add CYGINT_ISO_PTHREAD_MUTEX and
161 CYGBLD_ISO_PTHREAD_MUTEX_HEADER.
162 * include/pthread.h: Include above header if set.
164 2001-08-06 Jonathan Larmour <jlarmour@redhat.com>
166 * cdl/isoinfra.cdl: Add a separate POSIX mutex types header option.
167 * include/sys/types.h: Include it.
168 * include/time.h: Provide a default struct timespec even if the
169 implementation doesn't provide something better.
171 2001-07-26 Jonathan Larmour <jlarmour@redhat.com>
173 * include/sys/types.h: Move select() related stuff into separate
174 sys/select header. Include it still for now.
175 * include/sys/select.h: New header, as per upcoming POSIX 200x standard.
177 * cdl/isoinfra.cdl: Add configury for select() and poll().
180 2001-07-20 Jonathan Larmour <jlarmour@redhat.com>
182 * include/stdlib.h: Use correct macro names for abs and div.
184 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
186 * include/stdlib.h: Actually set MB_CUR_MAX in i18n package via header.
187 * cdl/isoinfra.cdl: Define multibyte char headers/interfaces
189 2000-06-08 Jeff Johnston <jjohnstn@redhat.com>
191 * include/stdlib.h: Add code to set MB_CUR_MAX to __mb_cur_max
192 if CYGFUN_LIBC_I18N_MB is defined, otherwise set it to 1.
194 2001-02-11 Jonathan Larmour <jlarmour@redhat.com>
196 * cdl/isoinfra.cdl: Add CYGPKG_ISO_UNISTD to deal with unistd.h
197 Include POSIX timer operations underneath it.
199 * include/unistd.h: Add support for conditional inclusion of
200 POSIX timer operations.
202 2001-02-01 Jonathan Larmour <jlarmour@redhat.com>
204 * cdl/isoinfra.cdl: Add CYGINT_ISO_STDIO_POSIX_FDFUNCS and
205 CYGBLD_ISO_STDIO_POSIX_FDFUNCS_HEADER primarily for fileno()
207 * include/stdio.h: Use above to provide default protos for fileno
210 2000-12-15 Nick Garnett <nickg@cygnus.co.uk>
214 Added support for dlfcn.h header that defines dynamic load API.
216 2000-11-01 Jonathan Larmour <jlarmour@redhat.com>
218 * cdl/isoinfra.cdl: Add CYGINT_ISO_STDIO_STREAMS and
219 CYGBLD_ISO_STDIO_STREAMS_HEADER.
220 Change flavor of other stdio interfaces to booldata
221 * include/stdio.h: Use #ifdefs not #ifs on interfaces to reflect above
222 Add CYGINT_ISO_STDIO_STREAMS and CYGBLD_ISO_STDIO_STREAMS_HEADER.
224 2000-10-05 Nick Garnett <nickg@cygnus.co.uk>
226 * include/sys/types.h: Changed type of pid_t to plain int. It
229 * include/unistd.h: Fixed prototypes of several functions to match
232 2000-09-11 Jonathan Larmour <jlarmour@redhat.com>
234 * cdl/isoinfra.cdl: Add CYGBLD_ISO_{OPEN,LINK,NAME,PATH}_MAX_HEADER
235 * include/limits.h: Support definition of OPEN_MAX, LINK_MAX,
238 2000-08-30 Jonathan Larmour <jlarmour@redhat.co.uk>
240 * include/assert.h (assert): Fix logic
242 2000-08-29 Jonathan Larmour <jlarmour@redhat.co.uk>
244 * include/stddef.h: Don't use CYGONCE_ multiple header inclusion
245 protection for this file - this is special.
247 2000-08-08 Jonathan Larmour <jlarmour@redhat.co.uk>
249 * include/limits.h: Add SSIZE_MAX
251 2000-08-03 Jonathan Larmour <jlarmour@redhat.co.uk>
253 * include/sys/types.h: Make fd_mask unsigned int, not cyg_uint32 so
254 as to avoid including cyg_type.h
256 2000-08-01 Jonathan Larmour <jlarmour@redhat.co.uk>
258 * cdl/isoinfra.cdl: Support termios
259 * include/termios.h: Added
261 2000-07-21 Jonathan Larmour <jlarmour@redhat.co.uk>
263 * cdl/isoinfra.cdl: CYGNUM_ISO_MQUEUE_OPEN_MAX and
264 CYGNUM_ISO_MQUEUE_PRIO_MAX should only be active if CYGINT_ISO_MQUEUE
265 rather than them requiring it
267 2000-07-20 Nick Garnett <nickg@cygnus.co.uk>
269 * cdl/isoinfra.cdl: Added configury for sys/utsname.h.
271 * include/unistd.h: Added _POSIX_VERSION constant.
272 Changed return type of sysconf() to long.
274 * include/sys/utsname.h: Added this file.
276 2000-07-13 Nick Garnett <nickg@cygnus.co.uk>
278 * include/unistd.h: Added fsync() prototype.
280 2000-07-13 Jonathan Larmour <jlarmour@redhat.co.uk>
282 * cdl/isoinfra.cdl: Add CYGINT_ISO_MALLINFO and
283 CYGBLD_ISO_MALLINFO_HEADER to support mallinfo()
285 * include/stdlib.h: Support mallinfo()
287 2000-06-28 Nick Garnett <nickg@cygnus.co.uk>
289 * include/sys/stat.h: Added prototypes for stat(), fstat() and
292 * include/dirent.h: Added this file to provide directory reading
295 * cdl/isoinfra.cdl: Added dirent support.
297 2000-06-21 Jonathan Larmour <jlarmour@redhat.co.uk>
299 * cdl/isoinfra.cdl: Put in below requires line, but change to allow
300 0 or 1 implementations
302 2000-06-19 Nick Garnett <nickg@cygnus.co.uk>
304 * cdl/isoinfra.cdl: Commented out requires line in
305 CYGINT_POSIX_REALTIME_SIGNALS interface. This causes configuration
306 errors when the POSIX package is absent.
308 * include/sys/types.h: Reimplemented FD_COPY() and FD_ZERO() as
309 inline copy loops rather than calls to memcpy() and memset().
311 2000-06-09 Jonathan Larmour <jlarmour@redhat.co.uk>
313 * include/time.h: Following the below change, simply define struct
314 timeval, while allowing it to be overridden if necessary
315 * cdl/isoinfra.cdl (CYGBLD_ISO_STRUCTTIMEVAL_HEADER): define for this
318 2000-06-09 Nick Garnett <nickg@cygnus.co.uk>
320 * include/time.h: Added definition of struct timeval. This is a
321 temporary home for this while we work out where definitions like
322 this should really live. Like the fd_set stuff in sys/types.h,
323 this is needed by two packages, both of which can operate
324 independently but which also need to co-operate when they are both
327 2000-06-07 Nick Garnett <nickg@cygnus.co.uk>
329 * include/sys/types.h: Added definitions for file descriptor sets
330 and inclusion of BSD specific types.
332 * include/stdlib.h: Added extern for environ variable in non-POSIX
335 * include/fcntl.h (O_WRONLY): Moved this to bit 1, leaving bit 2
336 for future expansion.
338 * cdl/isoinfra.cdl: Added CYGPKG_ISO_EXTRA_TYPES to control
339 inclusion of types into <sys/types.h> that are not specified by
340 POSIX. Mostly needed by the socket and BSD code.
342 2000-06-02 Nick Garnett <nickg@cygnus.co.uk>
344 * include/unistd.h: Added this initial version of this file. Jifl
345 will probably want to rewrite it at some point.
347 * include/fcntl.h: Changed O_RDWR to (O_RDONLY|O_WRONLY).
349 2000-05-31 Nick Garnett <nickg@cygnus.co.uk>
351 * include/fcntl.h: Fixed ifdefs around extern declaration of
354 2000-05-20 Jonathan Larmour <jlarmour@redhat.co.uk>
356 * include/fcntl.h: new file
357 * include/mqueue.h: new file
358 * include/sys/stat.h: new file
360 * cdl/isoinfra.cdl: No need for memcpy and memset interfaces - they're
362 (CYGINT_ISO_POSIX_TIMERS): define _POSIX_TIMERS if enabled
363 (CYGINT_POSIX_REALTIME_SIGNALS): add
364 (CYGPKG_ISO_POSIX_FCNTL): Add a number of hooks for things that need
366 (CYGPKG_ISO_MQUEUE): Add a number of hooks for things that need
368 (CYGBLD_ISO_STAT_DEFS_HEADER): Add to override default sys/stat.h
371 Fix some typos throughout, and a few other minor tidies
373 * include/limits.h: Move _POSIX_* macros here from POSIX package since
374 they are implementation independent
376 * include/time.h: Keep CLOCKS_PER_SEC at 1000000
378 * include/sys/types.h: Bring some of the types more in line with Linux
380 * include/ctype.h, include/errno.h, include/limits.h, include/locale.h,
381 include/pthread.h, include/sched.h, include/semaphore.h,
382 include/setjmp.h, include/signal.h, include/stdio.h, include/stdlib.h,
383 include/string.h, include/time.h, include/sys/types.h:
384 Don't need to explicitly check interface values > 0
386 2000-05-02 Jonathan Larmour <jlarmour@redhat.co.uk>
388 * include/time.h: Provide default definitions of time_t, clock_t and
391 * cdl/isoinfra.cdl: Remove CYGINT_ISO_TIME_T and CYGINT_ISO_CLOCK_T -
392 not really needed with a default definition
394 * New package isoinfra with the following files:
415 This package manages the ISO standard (C and POSIX) top-level header
418 //===========================================================================
419 //####ECOSGPLCOPYRIGHTBEGIN####
420 // -------------------------------------------
421 // This file is part of eCos, the Embedded Configurable Operating System.
422 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
424 // eCos is free software; you can redistribute it and/or modify it under
425 // the terms of the GNU General Public License as published by the Free
426 // Software Foundation; either version 2 or (at your option) any later version.
428 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
429 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
430 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
433 // You should have received a copy of the GNU General Public License along
434 // with eCos; if not, write to the Free Software Foundation, Inc.,
435 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
437 // As a special exception, if other files instantiate templates or use macros
438 // or inline functions from this file, or you compile this file and link it
439 // with other works to produce a work based on this file, this file does not
440 // by itself cause the resulting work to be covered by the GNU General Public
441 // License. However the source code for this file must still be made available
442 // in accordance with section (3) of the GNU General Public License.
444 // This exception does not invalidate any other reasons why a work based on
445 // this file might be covered by the GNU General Public License.
447 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
448 // at http://sources.redhat.com/ecos/ecos-license/
449 // -------------------------------------------
450 //####ECOSGPLCOPYRIGHTEND####
451 //===========================================================================