summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include
Commit message (Collapse)AuthorAgeFilesLines
* 2012-03-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-03-091-1/+1
| | | | | | | | | | | * libc/include/machine/setjmp-dj.h: Modify license to include modification in clause as permitted by DJ Delorie. * libc/machine/arm/access.c: Ditto. * libc/machine/i386/setjmp.S: Ditto. * libc/sys/h8300hms/sys/file.h: Ditto. * libc/sys/linux/machine/i386/setjmp.S: Ditto. * libc/sys/sysmec/access.c: Ditto. * libc/sys/sysnecv850/access.c: Ditto.
* 2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>Jeff Johnston2012-02-212-0/+11
| | | | | | | | | | | | | Alan Lehotsky <apl@alum.mit.edu> Joern Rennecke <joern.rennecke@embecosm.com> * configure.host: Add Epiphany support. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/machine/configure.in, libc/sys/configure.in: Likewise. * libc/machine/configure, libc/sys/configure: Regenerate. * libc/machine/epiphany, libc/sys/epiphany: New directories. * NEWS: Mention addition of Epiphany.
* * libc/include/_ansi.h (_ELIDABLE_INLINE): Fix C99 mode.Eric Blake2012-02-091-10/+13
|
* * libc/include/inttypes.h: Redefine pointer type macros.Corinna Vinschen2012-02-071-8/+8
|
* * libc/include/tgmath.h: New header.Yaakov Selkowitz2012-01-121-0/+185
|
* * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):Yaakov Selkowitz2012-01-091-0/+3
| | | | Declare.
* * libc/include/complex.h: Fix "/*" within comment warning.Yaakov Selkowitz2012-01-091-1/+1
|
* * libc/include/process.h: Remove Cygwin-only header.Corinna Vinschen2012-01-091-37/+0
|
* [libgloss]DJ Delorie2011-11-292-0/+12
| | | | | | | | | | | | | * configure.in: Add rl78. * configure: Regenerate. * rl78: New directory [newlib] * configure.host: Add rl78. * libc/include/machine/ieeefp.h: Add rl78 support. * libc/include/machine/setjmp.h: Add rl78 support. * libc/machine/configure.in: Add rl78. * libc/machine/rl78: New directory.
* * libc/include/process.h: Remove exec family function declarations.Corinna Vinschen2011-08-192-10/+6
| | | | | Add comment. * libc/include/sys/unistd.h (execlpe): Declare for Cygwin.
* 2011-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2011-08-011-34/+38
| | | | | | * libc/include/sys/types.h: XML and RTEMS define _UNIX98_THREAD_MUTEX_ATTRIBUTES and can use the standard definitions. This avoids redefinition warnings.
* * libc/include/time.h [_POSIX_CLOCK_SELECTION] (clock_nanosleep):Yaakov Selkowitz2011-07-202-1/+17
| | | | | | Declare. * libc/include/sys/features.h [__CYGWIN__] (_POSIX_CLOCK_SELECTION): Define.
* * libc/include/sys/unistd.h (_CS_XBS5_WIDTH_RESTRICTED_ENVS): Define.Yaakov Selkowitz2011-07-201-1/+2
| | | | (_CS_V6_ENV): Fix definition.
* 2011-06-09 Yaakov Selkowitz <yselkowitz@...>Jeff Johnston2011-06-101-0/+14
| | | | | * libc/include/string.h (strdupa): New macro function. (strndupa): New macro function.
* strerror: allow user hook to comply with POSIX rulesEric Blake2011-05-251-0/+3
| | | | | | | | | | | * libc/string/strerror.c (strerror): Split body into... (_strerror_r): ...new reentrant function. * libc/string/u_strerr.c (_user_strerror): Update signature. * libc/include/stdio.h (_strerror_r): New prototype. * libc/posix/collate.c (__collate_err): Adjust callers. * libc/stdio/perror.c (_perror_r): Likewise. * libc/string/strerror_r.c (strerror_r): Likewise. * libc/string/xpg_strerror_r.c (__xpg_strerror_r): Likewise.
* * libc/include/stdio_ext.h: New header.Yaakov Selkowitz2011-05-191-0/+22
| | | | * libc/stdio/fpurge.c [!__rtems__] (__fpurge): New function.
* * libc/include/time.h (CLOCK_PROCESS_CPUTIME_ID): Rename fromYaakov Selkowitz2011-05-162-4/+4
| | | | | | | CLOCK_PROCESS_CPUTIME. (CLOCK_THREAD_CPUTIME_ID): Rename from CLOCK_THREAD_CPUTIME. * libc/include/sys/features.h [__CYGWIN__] (_POSIX_CPUTIME): Define. (_POSIX_THREAD_CPUTIME): Define.
* * libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): DefineCorinna Vinschen2011-05-151-1/+1
| | | | to 200112L for Cygwin.
* * libc/include/signal.h (psignal): Declare.Yaakov Selkowitz2011-05-041-0/+1
| | | | | | | | | | | * libc/sys/linux/psignal.c: Move from here... * libc/signal/psignal.c: ... to here. Document. * libc/sys/linux/Makefile.am (GENERAL_SOURCES): Move psignal.c from here... * libc/signal/Makefile.am (LIB_SOURCES): ... to here. (CHEWOUT_FILES): Add psignal.def. * libc/sys/linux/Makefile.in: Regenerate. * libc/signal/Makefile.in: Ditto. * libc/signal/signal.tex: Add references to psignal.
* * libc/include/sys/features.h [__CYGWIN__] (_POSIX_SPIN_LOCKS): Define.Yaakov Selkowitz2011-05-022-2/+2
| | | | | * libc/include/sys/types.h: Cygwin provides its own pthread_spinlock_t typedef.
* * libc/include/sys/signal.h (_sig_func_ptr): Define with int parameterCorinna Vinschen2011-04-191-1/+2
| | | | per POSIX. Explain in comment.
* * libc/include/string.h (strchrnul): Declare.Corinna Vinschen2011-03-281-0/+1
| | | | | | * libc/string/strchrnul.c: New file. * libc/string/Makefile.am (ELIX_2_SOURCES): Add strchrnul.c. * libc/string/Makefile.in: Regenerate.
* * libc/include/string.h: Include sys/cdefs.h.Corinna Vinschen2011-03-031-0/+1
|
* * libc/include/sys/cdefs.h (__CONCAT1): Define.Corinna Vinschen2011-03-032-1/+22
| | | | | | | | | (__CONCAT): Define. (__STRING): Define. (__XSTRING): Define. (__ASMNAME): Define. * libc/include/string.h (strerror_r): Use __ASMNAME to take target specific label prefixes into account.
* strerror_r: provide POSIX implementationEric Blake2011-02-101-1/+14
| | | | | | | | | | | * libc/include/string.h (strerror_r): Update declaration. * libc/string/strerror.c (strerror): Update documentation. * libc/string/strerror_r.c (strerror_r): Always return NUL-terminated string; don't overwrite too-short buf. * libc/string/xpg_strerror_r.c (__xpg_strerror_r): Implement POSIX variant. * libc/string/Makefile.am (GENERAL_SOURCES): Build new file. * libc/string/Makefile.in: Regenerate.
* * libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.Corinna Vinschen2011-01-272-0/+9
| | | | * libc/include/wchar.h: Include features.h.
* * libc/include/sys/types.h (ulong): Add typedef.Corinna Vinschen2011-01-151-0/+1
|
* * libc/include/linux/sys/signal.h (sig_t): Move from here...Corinna Vinschen2011-01-121-0/+1
| | | | * libc/include/signal.h (sig_t): ...to here.
* * libc/include/string.h: Make strsignal() available unconditionally.Corinna Vinschen2011-01-101-1/+1
|
* cygwin:Christopher Faylor2010-12-261-0/+2
| | | | | | | | | | | | * cygwin.din: Export program_invocation_name and program_invocation_short_name. * dcrt0.cc: Set program_invocation*name to correct values, based on argv[0]. * globals.cc (program_invocation_name): Define. (program_invocation_short_name): Ditto newlib: * libc/include/sys/errno.h (program_invocation_name): Declare. (program_invocation_short_name): Ditto.
* * include/sys/types.h: Add #if defined(__rtems__) aroundCorinna Vinschen2010-12-082-2/+13
| | | | | | | | pthread_attr_t.guardsize. * include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack, pthread_attr_getguardsize, pthread_attr_setguardsize. * include/sys/types.h (pthread_attr_t): Add guardsize.
* * libc/include/strings.h: Don't include locale.h.Corinna Vinschen2010-12-081-1/+0
|
* strings.h: avoid namespace pollutionEric Blake2010-12-081-1/+1
| | | | | * libc/include/strings.h: Don't declare removed functions when requesting POSIX 2008 compliance.
* 2010-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2010-12-071-0/+36
| | | | * libc/include/strings.h: New (split-out from string.h).
* * libc/include/math.h: Missing from previous checkin.Corinna Vinschen2010-12-031-5/+5
|
* 2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.comJeff Johnston2010-12-023-0/+28
| | | | | | | | | | | | | | | | | | | | | Kaushik Phatak kaushik.phatak@kpitcummins.com * configure.host: Add CR16 support. * libc/include/machine/ieeefp.h: Ditto. * libc/include/machine/setjmp.h: Ditto. * libc/include/sys/config.h: Ditto. * libc/machine/configure.in: Ditto * libc/machine/configure: Regenerated * libc/machine/cr16/aclocal.m4: New. * libc/machine/cr16/configure.in: New * libc/machine/cr16/configure: New * libc/machine/cr16/getenv.c: New * libc/machine/cr16/Makefile.am: New * libc/machine/cr16/Makefile.in: New * libc/machine/cr16/setjmp.S: New * libc/machine/cr16/sys/asm.h: New * libc/machine/cr16/sys/libh.h: New * libc/machine/cr16/sys/syscall.h: New
* * libc/include/sys/types.h: Add _mode_t for __rtems__.Corinna Vinschen2010-11-161-1/+5
| | | | | | * libc/sys/rtems/machine/_types.h: Provide _mode_t, _fpos_t, _off_t. Add _ssize_t for 64bit sparc. Let arm, i386, m68k, mips, PPC, sparc use 64bit _off_t, _fpos_t.
* 2010-10-14 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-10-141-2/+0
| | | | | * libc/include/math.h: Delete cabs() and cabs() prototypes (c.f. 2010-10-08 change by Corinna).
* 2010-10-08 Bernd Schmidt <bernds@codesourcery.com>Jeff Johnston2010-10-092-0/+12
| | | | | | | | | | | | | | Joseph Myers <joseph@codesourcery.com> * configure.host: Handle tic6x targets. * libc/include/machine/ieeefp.h: Define endianness for C6X. * libc/include/machine/setjmp.h: Add __TMS320C6X__ case. * libc/machine/configure.in: Handle tic6x targets. * libc/machine/configure: Regenerate. * libc/machine/tic6x/Makefile.am, libc/machine/tic6x/configure.in, libc/machine/tic6x/setjmp.S: New. * libc/machine/tic6x/Makefile.in, libc/machine/tic6x/aclocal.m4, libc/machine/tic6x/configure: New (generated).
* * libc/include/sys/unistd.h: Declare getsid, setegid, seteuid for RTEMS.Corinna Vinschen2010-10-081-2/+2
|
* * libc/include/complex.h: New complex header.Corinna Vinschen2010-10-081-0/+124
| | | | | | | | | * libm/common/fdlibm.h: Added ifdef _COMPLEX_H. * libm/complex/*: New complex functions imported from NetBSD. * libm/Makefile.am: Added complex subdir. * libm/Makefile.in: Regenerate. * libm/configure.in: Added complex subdir. * libm/configure: Regenerate.
* * libc/include/sys/dir.h: New BSD-compatibility header.Yaakov Selkowitz2010-08-111-0/+10
|
* * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.Corinna Vinschen2010-08-091-1/+1
|
* * libc/include/sys/stat.h: Move all POSIX-defined symbolic constantsCorinna Vinschen2010-08-061-2/+2
| | | | out of `#ifndef _POSIX_SOURCE' guard.
* Add mkostemp and mkostemps.Eric Blake2010-07-191-2/+6
| | | | | | | | | * libc/stdio/mktemp.c (_gettemp): Add parameter, all callers changed. (mkostemp, _mkostemp_r, mkostemps, _mkostemps_r): New interfaces, for ELIX level 4. * libc/include/stdlib.h (mktemp): Avoid namespace issues. (mkostemp, mkostemps): Declare.
* * libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCECorinna Vinschen2010-07-131-0/+2
| | | | is undefined.
* * libc/include/signal.h (sighandler_t): Add typedef.Corinna Vinschen2010-07-011-0/+1
|
* 2010-06-29 Antony King <antony.king@sr.com>Corinna Vinschen2010-07-011-0/+6
| | | | | | | | | | * libc/ctype/ctype_.c (__ctype_ptr): Reinstate definition (guarded by _NEED_OLD_CTYPE_PTR_DEFINITION) for backwards compatibility with newlib 1.16.0 and earlier. 2010-06-28 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> * libc/include/sys/stat.h: Add ACCESSPERMS, ALLPERMS, and DEFFILEMODE.
* 2010-06-18 Pavel Pisa <ppisa4lists@pikron.com>Jeff Johnston2010-06-182-6/+2
| | | | | | | | * libc/include/machine/ieeefp.h[__arm__][!__VFP_FP__]: Set to __IEEE_BIG_ENDIAN and set __IEEE_BYTES_LITTLE_ENDIAN appropriately based on __ARMEL flag. * libc/include/machine/endian.h: To set byte order to LITTLE_ENDIAN, check for __IEEE_LITTLE_ENDIAN or __IEEE_BYTES_LITTLE_ENDIAN.
* * libc/include/sys/reent.h (_reent): Adjust _REENT_SMALL to beKazu Hirata2010-06-091-5/+6
| | | | | binary compatible with normal layout. (_REENT_INIT): Adjust to match struct layout.