summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include
Commit message (Collapse)AuthorAgeFilesLines
* 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-091-1/+4
| | | | | | * libc/include/sys/stat.h: Must revert change for mknod for CYGWIN until winsup/cygwin/syscalls.cc changes mknod prototype.
* 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-02-091-1/+1
| | | | * libc/include/stdio.h: Revert putw prototype.
* 2001-02-08 Edward M. Lee <tailbert@yahoo.com>Jeff Johnston2001-02-095-13/+7
| | | | | | | | | * libc/include/grp.h: add prototype for initgroups. * libc/include/stdio.h: fix prototype for putw. * libc/include/sys/signal.h: add prototype for killpg. * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN. * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp, vhangup and remove duplicate sysconf prototype.
* 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston2001-02-051-0/+1
| | | | * libc/include/locale.h: add LC_MESSAGES definition
* 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-312-3/+23
| | | | | | | | | * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__ if defined. (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined. (L_tmpnam): Changed to use __L_tmpnam__ if defined. * libc/include/sys/config.h: Changed to set __FILENAME_MAX__ appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
* 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-291-1/+5
| | | | | | | | * libc/include/math.h (signgam): Change to errno-like solution using a function to return the address of the real signgam. * libc/reent/signgam.c: New file containing __signgam(). * libc/reent/Makefile.am: Added signgam.c to list of files. * libc/reent/Makefile.in: Regenerated.
* 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-241-1/+1
| | | | | * libc/include/math.h (signgam): Regress previous fix as it does not handle programs with extern int signgam in them.
* 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-01-231-1/+1
| | | | | * libc/include/math.h (signgam): Changed to a macro refering to its location in the reentrant structure.
* * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.Christopher Faylor2001-01-181-1/+1
|
* * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.Christopher Faylor2001-01-121-0/+7
|
* * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__DJ Delorie2001-01-121-1/+1
|
* * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'Corinna Vinschen2000-12-141-0/+6
| | | | when __CYGWIN__ is defined.
* 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-12-121-9/+15
| | | | | | * libc/include/sys/unistd.h: Restored Cygwin _SC constants and moved new constants appropriately so Cygwin will build.
* 2000-12-11 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-128-62/+931
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Merge RTEMS specific .h files into main libc/include. * libc/sys/rtems/include/signal.h: Removed. * libc/sys/rtems/include/time.h: Removed. * libc/sys/rtems/sys/features.h: Removed. * libc/sys/rtems/sys/sched.h: Removed. * libc/sys/rtems/sys/siginfo.h: Removed. * libc/sys/rtems/sys/signal.h: Removed. * libc/sys/rtems/sys/time.h: Removed. * libc/sys/rtems/sys/times.h: Removed. definitions for time_t and clock_t since these are no longer in time.h. * libc/include/pthread.h: New file. * libc/include/sys/sched.h: New file. * libc/include/sys/features.h: New file. * libc/include/time.h: Removed duplicate definition of clock_t and time_t, get them from <sys/types.h> instead. Add prototypes for POSIX clock and timer functionality. * libc/sys/linux/sys/types.h: Changed to include * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_. * libc/include/sys/signal.h: Add more complete set of POSIX signal functionality including real-time and threaded signals. * libc/include/sys/types.h: Add clock_t, time_t, struct timespec, and struct itimerspec. Centralizing these makes things cleaner. RTEMS uses 64-bit dev_t. Added numerous primitive definitions for pthreads including macros, pthread_attr_t, pthread_mutexattr_t, pthread_condattr_t, pthread_key_t, pthread_once_t, and pthread_t. * libc/include/sys/unistd.h: Added getlogin_r() prototype. If RTEMS follow POSIX on read(), write() and sbrk() prototype. Feature flags removed and moved to new file <sys/features.h>. Full set of POSIX sysconf() constants
* * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.Corinna Vinschen2000-12-061-0/+6
|
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-0/+4
| | | | | * libc/include/machine/time.h: RTEMS systems can configure clock tick rate so use sysconf() to ask.
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-0/+1
| | | | * libc/include/sys/times.h: Add reference to POSIX standard.
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-0/+32
| | | | | * libc/include/sys/time.h: Added BSD timer manipulation macros used by RTEMS code.
* 2000-12-04 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2000-12-041-0/+5
| | | | * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
* 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>Jeff Johnston2000-12-041-20/+20
| | | | | * libc/include/sys/errno.h: Added comments on many error numbers. * libc/string/strerror.c: Added some more strings.
* * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro toCorinna Vinschen2000-11-251-2/+2
| | | | avoid compiler warnings.
* 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-11-212-4/+5
| | | | | | | | * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN. * libc/include/dirent.h: Added definition of MAXNAMLEN if not defined by sys/dirent.h. * libc/posix/execvp.c: Added include of dirent.h to get MAXNAMLEN value which used to be in unistd.h.
* * libc/include/sys/types.h: Change type of i to `size_t' inCorinna Vinschen2000-11-061-1/+1
| | | | FD_ZERO macro to avoid compiler warnings.
* Fix spelling error.Christopher Faylor2000-11-051-1/+1
|
* * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.Christopher Faylor2000-10-302-16/+7
| | | | * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
* * libc/include/sys/unistd.h: Add defines for sysconf valuesCorinna Vinschen2000-10-241-22/+26
| | | | | _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and _SC_AVPHYS_PAGES.
* * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize declarationsChristopher Faylor2000-10-101-0/+2
| | | | for __CYGWIN__.
* 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-09-061-1/+6
| | | | | * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and inline code to prevent having to include another header file.
* * Makefile.am: Fix space vs. tab problem in install-data-local.Christopher Faylor2000-09-062-1/+7
| | | | | | | | * Makefile.in: Regenerate. * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__. (_EXPARM): New macro for defining a function parameter. * libc/include/stdlib.h: Use _EXPARM. * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
* 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2000-09-051-1/+1
| | | | | * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to make O_NDELAY and O_NONBLOCK have the same value.
* * libc/string/swab.c: Specify that it's defined in <unistd.h>.Geoffrey Keating2000-08-301-2/+0
| | | | | | * libc/include/string.h: Don't include <sys/types.h>, as it causes really bad namespace pollution. Don't declare swab(), it is properly declared in unistd.h.
* * libc/include/sys/unistd.h (environ): this one isn't from theDJ Delorie2000-08-251-1/+1
| | | | DLL, no __IMPORT
* 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston2000-08-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions like x << y-z to the equivalent x << (y-z). (d2b): changed if statements with assignment to perform the assignment prior to the if check. * libc/reent/reent.c: included stdlib.h for "_free_r" prototype. * libc/unix/getpass.c (getpass): moved "echo" assignment out of if. * libc/unix/ttyname.c: included string.h for "strcpy" prototype. * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and || precedence. * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c). Added "_execve" prototype (for execl.c, execle.c, execv.c, and execve.c). * libc/posix/popen.c (popen): added parentheses to clarify && and || precedence. * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to clarify && and || precendence (and to remove pascalism). * libm/math/e_sinh.c (__ieee754_sinh): Ditto. * libm/math/s_infconst.c: added another pair of braces to all initializers for __infinity (need three: for __infinity[1] array, for union __dmath, and for i[2]).
* * libc/include/sys/config.h: define __IMPORT appropriatelyDJ Delorie2000-08-018-38/+28
| | | | | | | | | | * libc/include/ctype.h (_ctype_): use __IMPORT * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto * libc/include/math.h (__mb_cur_max): ditto * libc/include/time.h (_timezone, _daylight, _tzname): ditto * libc/include/unctrl.h (__unctrl, __unctrllen): ditto * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto * libc/include/unistd.h (environ): ditto
* Declare __infinity as an array to work around problems with small data supportMichael Meissner2000-07-281-3/+13
|
* * libc/include/math.h: Use appropriate dll import linkage for Cygwin.Christopher Faylor2000-07-271-0/+4
|
* Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>Jeff Johnston2000-06-272-1/+14
| | | | | | * configure.host: Add support for AVR target. * libc/include/machine/ieeefp.h: Likewise. * libc/include/sys/config.h: Likewise.
* Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-06-201-1/+1
| | | | | | | * libc/include/sys/reent.h (_rand_next): Added __extension__ qualifier as long long type is not strict ANSI. * libc/stdlib/rand.c (rand): Added __extension__ qualifier to long long constant.
* * libc/include/sys/unistd.h: Add prototypes for `seteuid' andCorinna Vinschen2000-06-161-0/+4
| | | | `setegid' provided by Cygwin.
* Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-06-091-3/+5
| | | | | | | | * libc/include/sys/reent.h (_rand_next): Changed to unsigned long long and moved to end of _reent struct in _new union. (_REENT_INIT): Changed to move _rand_next initialization. * libc/stdlib/rand.c (rand): Changed to use unsigned long long linear congruential algorithm that is used by DJGPP.
* Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>Ranjith Kumaran2000-06-092-1/+7
| | | | | * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX. * libc/include/sys/config.h: Define __RAND_MAX.
* * libc/include/string.h: Work around problem with strsignal and gdb.Christopher Faylor2000-06-031-0/+2
|
* * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__Christopher Faylor2000-05-3013-23/+23
| | | | | | | | | | | | | | | * libc/include/malloc.h: Ditto. * libc/include/process.h: Ditto. * libc/include/stdio.h: Ditto. * libc/include/stdlib.h: Ditto. * libc/include/time.h: Ditto. * libc/include/machine/setjmp.h: Ditto. * libc/include/sys/errno.h: Ditto. * libc/include/sys/signal.h: Ditto. * libc/include/sys/stat.h: Ditto. * libc/include/sys/time.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/include/string.h: Ditto. strsignal should return a const char *.
* * libc/stdio/stdio.c (__stextmode): new, see if file is text modeDJ Delorie2000-05-231-0/+2
| | | | | | | | | | | | (__sread): always read in binary mode (__swrite): always write in binary mode * libc/include/stdio.h: no getc/putc macros for cygwin; causes compatibility issues with different dll versions * libc/stdio/fopen.c: use __stextmode * libc/stdio/fdopen.c: ditto * libc/stdio/freopen.c: ditto * libc/stdio/findfp.c: set up __SCLE for std{in,out,err} * libc/stdio/local.h: declare __stextmode
* Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-05-151-2/+2
| | | | | * libc/include/ctype.h: Changed tolower and toupper macros to use __extension__ to prevent pedantic warnings.
* Add minimal ia64 support.Jim Wilson2000-05-111-1/+7
| | | | | * libc/include/machine/ieeefp.h: Add ia64 support. * configure.host: Likewise.
* * libc/include/sys/errno.h: Add define for ENOSHARE ("No suchCorinna Vinschen2000-05-031-1/+2
| | | | host or network path") used by cygwin. Add some comments.
* Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>Jeff Johnston2000-05-031-2/+32
| | | | | | | | | | | | * libc/include/stdio.h (FILE): define __SCLE for "convert line endings" for Cygwin. (__sgetc): convert line endings if needed (__sputc): ditto * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode * libc/stdio/fopen.c (_fopen_r): ditto * libc/stdio/freopen.c (freopen): ditto * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE * libc/stdio/fvwrite.c (__sfvwrite): ditto
* * newlib/libc/include/sys/unistd.h: Add prototypes forCorinna Vinschen2000-04-021-0/+3
| | | | | | | | | | | | | | fchmod, fchown, lchown. * winsup/cygwin/syscalls.cc (chown_worker): Use previous uid/gid if new uid/gid is -1. New static function with chown functionality. (chown): Call chown_worker with SYMLINK_FOLLOW. (fchown): New function. Call chown_worker with SYMLINK_FOLLOW. (lchown): New function. Call chown_worker with SYMLINK_IGNORE. * cygwin.din: Add symbols for fchown, lchown. * path.cc (symlink): Call `set_file_attribute()' and `SetFileAttributeA()' instead of `chmod()' to set uid/gid correct.
* Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-101-0/+1
| | | | * libc/include/string.h: Include <sys/types.h>.